/ Published in: Apache
Adicionhar o código ao arquivo .htaccess do site
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# 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"