Skip to content

Commit 34e7782

Browse files
author
Eugene Tulika
committed
Merge commit 'refs/pull/987/head' of https://github.com/magento/magento2 into MAGETWO-33614
2 parents b456cd1 + 6efe85c commit 34e7782

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,8 @@
167167
## http://developer.yahoo.com/performance/rules.html#expires
168168

169169
ExpiresDefault "access plus 1 year"
170+
ExpiresByType text/html A0
171+
ExpiresByType text/plain A0
170172

171173
</IfModule>
172174

.htaccess.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@
164164
## http://developer.yahoo.com/performance/rules.html#expires
165165

166166
ExpiresDefault "access plus 1 year"
167+
ExpiresByType text/html A0
168+
ExpiresByType text/plain A0
167169

168170
</IfModule>
169171

dev/tests/functional/.htaccess

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@
170170
## http://developer.yahoo.com/performance/rules.html#expires
171171

172172
ExpiresDefault "access plus 1 year"
173+
ExpiresByType text/html A0
174+
ExpiresByType text/plain A0
173175

174176
</IfModule>
175177

@@ -191,4 +193,4 @@
191193
## If running in cluster environment, uncomment this
192194
## http://developer.yahoo.com/performance/rules.html#etags
193195

194-
#FileETag none
196+
#FileETag none

pub/.htaccess

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@
153153
## http://developer.yahoo.com/performance/rules.html#expires
154154

155155
ExpiresDefault "access plus 1 year"
156+
ExpiresByType text/html A0
157+
ExpiresByType text/plain A0
156158

157159
</IfModule>
158160

0 commit comments

Comments
 (0)