ClientCache plugin
Installed by default. Sets cache-control, expires (if configured), and last-modified HTTP headers.
Configuration
- Add
<clientcache minutes="1440" />to the<resizer />section. This controls how many minutes in the future the Expires header will be set to.
Default behavior
Cache-control: public is sent for all anonymous requests.
Cache-control: private is sent for all authenticated requests.
'Last-modified:is sent based on the modified date of the source file.Expires` is sent only if 'minutes' is configured in web.config. For 24 hour expiration, use 1440 (suggested value).