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

Increase cache lifetime (by increasing max-age in cache-control header) #1

Open
cnrdh opened this issue Mar 11, 2023 · 2 comments
Open

Comments

@cnrdh
Copy link
Member

cnrdh commented Mar 11, 2023

cache-control: max-age=31536000

(Upstream is only 7200)

@cnrdh cnrdh changed the title Add cache-control/max-age header Increase cache-control/max-age header Mar 11, 2023
@cnrdh
Copy link
Member Author

cnrdh commented Oct 11, 2023

In the new service, max-age is 0:

cache-control: no-cache, no-store, max-age=0, must-revalidate

@cnrdh
Copy link
Member Author

cnrdh commented Oct 11, 2023

Still 2h in the preview service

cache-control: max-age=7200, must-revalidate, public

@cnrdh cnrdh changed the title Increase cache-control/max-age header Increase cache lifetime (by increasing max-age in cache-control header) Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant