-
Notifications
You must be signed in to change notification settings - Fork 12
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
adds and removes headers for index.html to prevent it from being hashed #3392
Conversation
|
||
gzip on; | ||
gzip_vary on; | ||
gzip_types application/javascript text/css; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason to restrict this to those types?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, should be fine to zip every thing if it is performant using the wildcard. text/html seems to be always compressed.
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no index.htm
Co-authored-by: awildturtok <1553491+awildturtok@users.noreply.github.com>
eb0b634
to
1e945a5
Compare
ETag removed and Cache-Control: no-store.
Other assets remain cachable, such as js and css