We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need to update the cache-control header when serve out a cached response to make sure we subtract the elapsed time, for example:
First response at 02:00:00 Date: 02:00:00 Expires: 02:01:00 Cache-Control: max-age=60
Second response at 02:00:30 (cached) Expires: 02:01:00 Cache-Control: max-age=60
^^ max-age should now be 30, not 60
Good thinking @eschwartz
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need to update the cache-control header when serve out a cached response to make sure we subtract the elapsed time, for example:
First response at 02:00:00
Date: 02:00:00
Expires: 02:01:00
Cache-Control: max-age=60
Second response at 02:00:30 (cached)
Expires: 02:01:00
Cache-Control: max-age=60
^^ max-age should now be 30, not 60
Good thinking @eschwartz
The text was updated successfully, but these errors were encountered: