Htaccess File

youngastronauts/SecondScreen/master/.htaccess

DEFLATE, no-gzip, REQUEST_URI
AddType font/ttf .ttf
AddType font/eot .eot
AddType font/otf .otf
AddType font/woff .woff
AddType application/json .json 
AddType video/ogg  .ogv
AddType video/mp4  .mp4
AddType video/webm .webm
#SetEnvIfNoCase Request_URI .(og[gv]|mp4|m4v|webm)$ no-gzip dont-vary

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff .woff

SetOutputFilter DEFLATE

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"

ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"

ExpiresByType application/json "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"

ExpiresByType application/x-font-woff "access plus 1 year"
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/eot "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"

ExpiresDefault "access plus 2 days"
</IfModule>
Exit mobile version