Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full support of no-cache #27

Open
dbu opened this issue Feb 27, 2017 · 0 comments
Open

full support of no-cache #27

dbu opened this issue Feb 27, 2017 · 0 comments

Comments

@dbu
Copy link
Contributor

dbu commented Feb 27, 2017

since #26, the no-cache directive is correctly handled. the response is not cached. but no-cache is meant to force re-validation - the response might still be stored but needs to be revalidated each time.

AFAIK you can actually cache the result if response has no-cache directive. It just means you must always revalidate before actually using the cached result. If origin server returns 304 Not Modified you can use the cached result.

https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.1

@dbu dbu mentioned this issue Feb 27, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant