WikiJourney/wikijourney_website/master/.htaccess
# compress with MOD_DEFLATE
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml text/javascript application/x-javascript application/javascript application/x-httpd-php
# proxies should not decompress for the user
Header append Vary User-Agent env=!dont-vary
<IfModule mod_headers.c>
# Cache images and other static files for 1 month
<FilesMatch ".(ico|jpe?g|png|gif|css|js|gz)$">
Header set Cache-Control "max-age=2592000"
</FilesMatch>
# Cache html and xml for 12 hours
<filesMatch ".(html|htm|xml)$">
Header set Cache-Control "max-age=43200"
</filesMatch>
# do NOT cache php and cgi files
<FilesMatch ".(php)$">
Header unset Cache-Control
</FilesMatch>
</IfModule>
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 7200 seconds"
ExpiresByType image/jpg "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
AddType image/x-icon .ico
ExpiresByType image/ico "access plus 2592000 seconds"
ExpiresByType image/icon "access plus 2592000 seconds"
ExpiresByType image/x-icon "access plus 2592000 seconds"
ExpiresByType text/css "access plus 2592000 seconds"
ExpiresByType text/javascript "access plus 2592000 seconds"
ExpiresByType text/html "access plus 7200 seconds"
ExpiresByType application/xhtml+xml "access plus 7200 seconds"
ExpiresByType application/javascript A259200
ExpiresByType application/x-javascript "access plus 2592000 seconds"
</IfModule>
# END Expire headers
Header unset ETag
FileETag none
# protect the htaccess file
<files .htaccess>
order allow,deny
deny from all
</files>
# forbid directory listing
Options -Indexes
On Github License
Files