/ Published in: Apache
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.
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<IfModule mod_expires.c> ExpiresActive on ExpiresByType image/gif “access plus 2 years†ExpiresDefault â€access plus 1 days†</IfModule>