timschlechter/itimothy.nl/master/etc/.htaccess - Htaccess File

timschlechter/itimothy.nl/master/etc/.htaccess

<filesMatch ".(html|css|js)$">
AddDefaultCharset UTF-8
DefaultLanguage nl-NL
</filesMatch>

<filesMatch ".(png|svg)$">
Header append Vary: Accept-Encoding
Header set Cache-Control "max-age=31536050"
</filesMatch>

<filesMatch "index.html$">
FileETag None
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"

Header set X-UA-Compatible "IE=edge"
</filesMatch>

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE image/svg+xml

On Github License

Files

Download PDF of Htaccess file
DEFLATE, no-cache, Pragma

Comments

Apache