Enable Expire HTTP Headers

To enable a HTTP expire header to your website modify the .htaccess file and add the following lines:

<ifmodule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</ifmodule>

(Tested on Magento but should work on other CMS including Drupal and WordPress)

Leave a Reply