I'm setting the headers for a web page to CacheControlMaxAge 900 secs. This works well with Akamai and all the browsers ignore this setting except IE which caches开发者_如何学JAVA the page for 9 minutes.
What I want is to have only Akamai cache the page for 9 minutes and no caching done by the browser (IE this is the one we have troubles with).
Web server: IIS 7
Akamai lets you separately set the Browser Cache Control Headers (how long before browser revisits an Akamai edge server for a file) and edge server Time To Live Rules (how long before the edge server revisits the origin for a file).
If what you want is for the browser to never cache and for the edge servers to refresh from your origin every 9 minutes, here's what you do:
- Under Browser Cache Control Headers, choose "Add cache busting headers to cacheable content and remove the default Akamai caching headers". That'll put no-cache and no-store in your page headers.
- Under Time To Live Rules, set the server TTL to 9 minutes.
精彩评论