Browse Source

Update .htaccess

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
7864d09faf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .htaccess

14
.htaccess

@ -35,3 +35,17 @@ RewriteRule ^([^\.]+)$ $1.php [NC,L]
</IfModule> </IfModule>
ErrorDocument 404 /404.html ErrorDocument 404 /404.html
## EXPIRES CACHING ##
<IfModule mod_expires.c>
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"
</IfModule>
## EXPIRES CACHING ##

Loading…
Cancel
Save