Skip to content

Commit f05ea95

Browse files
committed
MAGETWO-31196: ETag support on frontend, expiration/lifetime management
1 parent a187b95 commit f05ea95

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.htaccess

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ AddType application/xml xml
104104

105105
Header set X-Frame-Options SAMEORIGIN
106106

107-
<FilesMatch ".(html)$">
108-
Header append Cache-Control no-cache
109-
Header append Vary: Accept-Encoding
110-
</FilesMatch>
111-
112107
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|js|css|swf|eot|ttf|otf|woff|woff2|htm)$>
113108
Header append Cache-Control public
114109
</FilesMatch>
@@ -220,10 +215,9 @@ AddType application/xml xml
220215
ExpiresActive On
221216

222217
# Data
223-
<FilesMatch \.(html|xhtml|shtml|phtml|php|txt|zip|gz|gzip|bz2|csv|xml)$>
218+
<FilesMatch \.(zip|gz|gzip|bz2|csv|xml)$>
224219
ExpiresDefault "access plus 0 seconds"
225220
</FilesMatch>
226-
ExpiresByType text/html "access plus 0 seconds"
227221
ExpiresByType text/xml "access plus 0 seconds"
228222
ExpiresByType text/csv "access plus 0 seconds"
229223
ExpiresByType application/json "access plus 0 seconds"

0 commit comments

Comments
 (0)