Hi All,
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;
expires 31d;
}
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.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx