S-max-age

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search

Latest revision as of 19:03, 7 December 2005


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