diff --git a/.htaccess b/.htaccess index 638eb75..d334312 100644 --- a/.htaccess +++ b/.htaccess @@ -35,3 +35,17 @@ RewriteRule ^([^\.]+)$ $1.php [NC,L] ErrorDocument 404 /404.html + +## EXPIRES CACHING ## + +ExpiresActive On +ExpiresByType image/jpeg "access plus 1 year" +ExpiresByType image/gif "access plus 1 year" +ExpiresByType text/css "access plus 1 month" +ExpiresByType application/pdf "access plus 1 month" +ExpiresByType text/x-javascript "access plus 1 month" +ExpiresByType application/x-shockwave-flash "access plus 1 month" +ExpiresByType image/x-icon "access plus 1 year" +ExpiresDefault "access plus 1 days" + +## EXPIRES CACHING ##