Skip to content

Provide default ETag, Cache-Control and Expire headers for GET and HEAD API responses #166

@aarranz

Description

@aarranz

Provide defaults values for those cache-related headers for the responses given to the GET and HEAD requests arriving to the WireCloud's API endpoints. Those headers should indicate clients to no cache the response, but providing a valid ETag value so they can use the standard HTTP content negotiation mechanism to reduce bandwidth consumption (thanks to the use of the 304 Not Modified responses).

Other request methods (e.g. POST, PUT, DELETE) should not be cached and request made to the web views should use the standard Django configuration.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions