Skip to content

Commit feb8acb

Browse files
author
Eugene Tulika
committed
Merge branch 'MAGETWO-33614' into Accept-Public-PRs
2 parents 43b7ef4 + 561e022 commit feb8acb

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-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

nginx.conf.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ location / {
127127
}
128128

129129
location ~ (index|get|static|report|404|503)\.php$ {
130+
expires -1;
130131
fastcgi_pass fastcgi_backend;
131132

132133
fastcgi_param PHP_FLAG "session.auto_start=off \n suhosin.session.cryptua=off";

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)