Htaccess File

penibelst/anatol/master/site/.htaccess

DEFLATE
# http://httpd.apache.org/docs/current/mod/mod_expires.html
<IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType text/html "access plus 1 week"
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/x-icon "access plus 1 year"
</IfModule>

# http://httpd.apache.org/docs/current/mod/core.html#fileetag
FileETag none

# http://httpd.apache.org/docs/current/mod/core.html#errordocument
ErrorDocument 404 /404/

# http://httpd.apache.org/docs/current/mod/core.html#adddefaultcharset
AddDefaultCharset utf-8
# http://httpd.apache.org/docs/current/mod/mod_mime.html#addcharset
AddCharset utf-8 .css .js

# http://httpd.apache.org/docs/current/mod/mod_deflate.html
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE image/x-icon
</IfModule>
Exit mobile version