From f05ea95b29ccc2ed7e056ec64af7ed8c6e0783ca Mon Sep 17 00:00:00 2001 From: Olga Matviienko <omatviienko@ebay.com> Date: Fri, 23 Jan 2015 16:59:27 +0200 Subject: [PATCH] MAGETWO-31196: ETag support on frontend, expiration/lifetime management --- .htaccess | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.htaccess b/.htaccess index 0c1ed880165..5ad346de8d3 100644 --- a/.htaccess +++ b/.htaccess @@ -104,11 +104,6 @@ AddType application/xml xml Header set X-Frame-Options SAMEORIGIN - <FilesMatch ".(html)$"> - Header append Cache-Control no-cache - Header append Vary: Accept-Encoding - </FilesMatch> - <FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2|htm)$> Header append Cache-Control public </FilesMatch> @@ -220,10 +215,9 @@ AddType application/xml xml ExpiresActive On # Data - <FilesMatch \.(html|xhtml|shtml|phtml|php|txt|zip|gz|gzip|bz2|csv|xml)$> + <FilesMatch \.(zip|gz|gzip|bz2|csv|xml)$> ExpiresDefault "access plus 0 seconds" </FilesMatch> - ExpiresByType text/html "access plus 0 seconds" ExpiresByType text/xml "access plus 0 seconds" ExpiresByType text/csv "access plus 0 seconds" ExpiresByType application/json "access plus 0 seconds" -- GitLab