Info | ||
---|---|---|
| ||
Proxy cache headers for use with reverse proxies and other proxy mechanisms were added in the 6.0.11 milestone release. |
To simplify adding cache headers to pages, the upcoming 6.0.11 release adds support for the @@proxyCacheTimeout decorators to webskins. This value specifies the number of seconds that webskin should be cached for. The smallest value specified when constructing a page is added to the header using the max-age and s-maxage headers, or as a set of no-cache headers if 0.
...
Tip | |||||||
---|---|---|---|---|---|---|---|
As well as the typical response headers, META tags and an html comment are added to the page. These can help troubleshoot issues with reverse proxies. e.g.:
|
Example Cache Header
Code Block |
---|
Cache-Control max-age=120,s-maxage=120 |
...