Skip to content

full support of no-cache #27

New issue

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

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

Already on GitHub? # to your account

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
Milestone

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
@dbu dbu added this to the 3.0 milestone Feb 12, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant