Skip to content

Commit

Permalink
Make nginx send "Cache-Control: public" for static resources with exp…
Browse files Browse the repository at this point in the history
…licit timestamps ("?12343155")
  • Loading branch information
purcell committed May 20, 2011
1 parent b2dec85 commit 107ca19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx-run
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ http {
}
location @params {
try_files \$uri/index.html \$uri.html \$uri @backend;
expires max;
add_header Cache-Control "public, max-age=315360000";
}
location @backend {
Expand Down

0 comments on commit 107ca19

Please sign in to comment.