s-maxage header

anon69 nginx-forum at nginx.us
Wed Sep 4 07:55:12 UTC 2013


Hi,

What's the easiest way to set the s-maxage header correctly?

For example to set s-maxage to 365 days inside a location statement that
matches images, JS and CSS files. This is needed so that the proxy will
cache the file but the client won't.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242514,242514#msg-242514



More information about the nginx mailing list