S-maxage header


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:

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