Remove cache-control public

Closes #134
This commit is contained in:
Andy Dawson 2016-06-08 09:55:00 +02:00
parent 025b203b19
commit d84f80ac98
1 changed files with 0 additions and 3 deletions

View File

@ -17,7 +17,6 @@ location ~* \.(?:manifest|appcache|html?|xml|json)$ {
# Feed # Feed
location ~* \.(?:rss|atom)$ { location ~* \.(?:rss|atom)$ {
expires 1h; expires 1h;
add_header Cache-Control "public";
} }
# Media: images, icons, video, audio, HTC # Media: images, icons, video, audio, HTC
@ -31,7 +30,6 @@ location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc)$ {
location ~* \.(?:css|js)$ { location ~* \.(?:css|js)$ {
expires 1y; expires 1y;
access_log off; access_log off;
add_header Cache-Control "public";
} }
# WebFonts # WebFonts
@ -39,5 +37,4 @@ location ~* \.(?:css|js)$ {
# location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ { # location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ {
# expires 1M; # expires 1M;
# access_log off; # access_log off;
# add_header Cache-Control "public";
# } # }