expires headers and cache control
iberkner at gmail.com
Mon Oct 25 20:38:37 MSD 2010
I'm trying to understand expires headers and cache control better, maybe
someone can help?
our configuration file has:
location ~* \.(jpg|jpeg|gif|png|ico|css|js)$
error_page 404 = /404.php;
Which I understand to mean that for these file types, the expiration header
should be set to 31 days from today. However, when I load the site, it
looks like its being set 1 day ahead.
I've also seen a lot of examples which use "add_header Cache-Control
private;" but I don't understand what this actually means?
Thanks for any input / help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx