S-maxage header

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs