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

How to disable cache #404

Closed
MistyMeteor opened this issue Jan 7, 2024 · 2 comments
Closed

How to disable cache #404

MistyMeteor opened this issue Jan 7, 2024 · 2 comments
Labels
question Further information is requested

Comments

@MistyMeteor
Copy link

The setting of the cache control parameter can only range from 1d (1 day) to 1y (1 year). When I set it to 0d, the return value is default value one year. How can I change cache-control HTTP-header to no cache, to disable cache?

@kleisauke kleisauke added the question Further information is requested label Jan 9, 2024
@kleisauke
Copy link
Member

Hello, did you see #292 (comment)?

We don't want to have shorter max-ages than 1 day, as it would be unfeasible to host the free service without any caching.

@kleisauke
Copy link
Member

I hope this information helped. Please feel free to re-open if questions remain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants