Matthew Ames


Matthew Ames - 2016-03-01 - 8:31 am

Mod_expires is very simple technology. All it does is tells the browser to cache an item for a certain amount of time, such that it isn’t reloaded each time that the page loads.

Ideally, you would like your static content to last for as long as possible, and non static to be relatively quick. Below you can see the configuration for

ExpiresActive On
ExpiresDefault “access plus 7 days”
ExpiresByType text/html “access 10 minutes”

To disable the expiry, you can just use “access plus 0 seconds”