From d84f80ac986e87c40d3ae59bd998dd0810b7f760 Mon Sep 17 00:00:00 2001 From: Andy Dawson Date: Wed, 8 Jun 2016 09:55:00 +0200 Subject: [PATCH] Remove cache-control public Closes #134 --- h5bp/location/expires.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/h5bp/location/expires.conf b/h5bp/location/expires.conf index 668d593..2a94af4 100644 --- a/h5bp/location/expires.conf +++ b/h5bp/location/expires.conf @@ -17,7 +17,6 @@ location ~* \.(?:manifest|appcache|html?|xml|json)$ { # Feed location ~* \.(?:rss|atom)$ { expires 1h; - add_header Cache-Control "public"; } # 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)$ { expires 1y; access_log off; - add_header Cache-Control "public"; } # WebFonts @@ -39,5 +37,4 @@ location ~* \.(?:css|js)$ { # location ~* \.(?:ttf|ttc|otf|eot|woff|woff2)$ { # expires 1M; # access_log off; -# add_header Cache-Control "public"; # }