S-max-age

From Resin 3.0

Jump to: navigation, search


s-max-age is an HTTP Cache-Control value which tells a proxy-cache, including Resin's cache how long to cache a page for. The value of max-age is the time to cache in seconds.

caching a response for 15 seconds

response.addHeader("Cache-Control", "s-max-age=15");
Personal tools