Skip to content

Shallow ETag support [SPR-5252] #9926

Closed
@spring-projects-issues

Description

@spring-projects-issues

Arjen Poutsma opened SPR-5252 and commented

An ETag (entity tag) is an HTTP response header returned by an HTTP/1.1 compliant web server used to determine change in content at a given URL. It can be considered to be the more sophisticated successor to the "Last-Modified" header. When a server returns a representation with an ETag header, client can use this header in subsequent GETs, in a "If-None-Match" header. If the content has not changed, the server will return 304: Not Modified.

Initially, we will focus on "Shallow" ETags, where the server simply computes a hash of the generated content (View), and sends that back as the ETag header. When this hash matches any If-None-Match client-sider header, the response is not sent. This approach only saves bandwith, as the content is still generated; it's just not sent over the wire.


This issue is a sub-task of #9097

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions