Permalink
Browse files

Be a bit safer about assets & CDNs by default.

  • Loading branch information...
1 parent a95554c commit 197eb93ef1dd27fe0709ef2992934ae96b7cbf91 @nirvdrum nirvdrum committed Jan 26, 2013
@@ -56,6 +56,9 @@ Listen <%= port %>
# Cache the resource even if SSL is in use.
Header merge Cache-Control public
+ # Remove any cookies set with the request so we avoid them being cached in a CDN.
+ Header unset Set-Cookie
+
SetEnv no-gzip
</LocationMatch>
@@ -55,6 +55,9 @@ Listen <%= port %>
# Cache the resource even if SSL is in use.
Header merge Cache-Control public
+ # Remove any cookies set with the request so we avoid them being cached in a CDN.
+ Header unset Set-Cookie
+
SetEnv no-gzip
</LocationMatch>

0 comments on commit 197eb93

Please sign in to comment.