pbondoer/bondoer.fr/master/.htaccess - Htaccess File

pbondoer/bondoer.fr/master/.htaccess

AddDefaultCharset utf-8

## SET MIME-TYPES ##
<IfModule mod_mime.c>
AddType application/vnd.ms-fontobject eot
AddType application/font-sfnt otf ttf
AddType image/svg+xml svg
AddType application/font-woff woff woff2
AddType text/javascript js
</IfModule>

## GZIP ##
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/javascript text/css
</IfModule>

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType image/x-icon "access 1 year"
ExpiresByType video/mp4 "access 1 year"
ExpiresByType video/ogv "access 1 year"
ExpiresByType video/webm "access 1 year"

ExpiresByType application/vnd.ms-fontobject "access 1 year"
ExpiresByType application/font-sfnt "access 1 year"
ExpiresByType image/svg+xml "access 1 year"
ExpiresByType application/font-woff "access 1 year"

ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"

ExpiresDefault "access 2 days"
</IfModule>

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache