Return to Snippet

Revision: 5678
at March 25, 2008 11:10 by CharlyBr


Initial Code
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/gif   “access plus 2 years”
ExpiresDefault  ”access plus 1 days”
</IfModule>

Initial URL

                                

Initial Description
ExpiresActive tells the apache2 to use the expires module.

ExpiresDefault specifies the expire date for all mime-types in this directory.

ExpiresByType specifies the expires date for the specified mime-type in this directory.

Initial Title
Add expires header with Apache

Initial Tags
header, apache

Initial Language
Apache