-
Notifications
You must be signed in to change notification settings - Fork 431
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
Add cache-control header for index.html #8516
Comments
Hi @sainak I would like to work on this feature. Could you assign it to me ? |
Work In Progress |
@sainak I see the backend sets Cache-Control: max-age=31536000, immutable. Should I use proxy_hide_header to change this, or is it intentional? |
@sainak Should I make the PR with proxy_hide_header ? |
Hi @sainak @rithviknishad , |
In the nginx conf there are no cache control headers added which causes the index.html to be cached by the browser
to fix this add a cache-control header with ttl = 7 days for regular files and ttl = 6 hrs for index.html
The text was updated successfully, but these errors were encountered: