Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Add 'last-modified'/'if-modified-since' date-based caching. #86

Open
lxe opened this issue Nov 25, 2014 · 0 comments
Open

Add 'last-modified'/'if-modified-since' date-based caching. #86

lxe opened this issue Nov 25, 2014 · 0 comments

Comments

@lxe
Copy link
Contributor

lxe commented Nov 25, 2014

The current ETag caching works well for the public registry; however, some nginx and other load-balancer and proxy implementations might have different behavior, and only respond with a 304 if an if-modified-since header is sent with the request.

The header shoud be created the same way the if-none-match header is currently created, but instead of the cached etag header, it should send the value of the last-modified header.

I believe most browsers currently operate in this fashion as well.

What do you think?

@lxe lxe changed the title Add 'if-modified-since' date-based caching and request cache header. Add 'last-modified'/'if-modified-since' date-based caching. Nov 25, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant