Return to Snippet

Revision: 34958
at October 31, 2010 06:24 by joaobarbosa


Initial Code
# Turn on ExpiresActive for the directory
ExpiresActive on
# Set the defaults
ExpiresDefault "access plus 1 week"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 week"
ExpiresByType image/gif "access plus 1 day"
ExpiresByType image/png "access plus 1 week"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"

Initial URL

                                

Initial Description
Adicionhar o código ao arquivo .htaccess do site

Initial Title
Alterar o tempo em que arquivos irão expirar

Initial Tags
htaccess, apache

Initial Language
Apache