-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix mod_expires dynamic content #987
Fix mod_expires dynamic content #987
Conversation
Thank you for contribution. |
Hi @PHOENIX-MEDIA, |
I would rather say no as we currently don't use Nginx with Magento. |
Sure, we will take care of that. Thanks! |
@PHOENIX-MEDIA, this is now available in 0.74.0-beta1. Thank you very much for your contribution and continued support to Magento 2! |
Source Deduction improvements
HTML, TXT and CSV files are allowed to be cached in the browser and proxies for one year with the mod_expires default setting in .htaccess files. This shouldn't be allowed by default as it doesn't allow you to control and refresh HTML content. The change sets "Cache-Control: max-age=0" header for HTML and other plain text content.