rame26/loadtimer/master/.htaccess - Htaccess File

rame26/loadtimer/master/.htaccess

DirectoryIndex index.php
Options -Indexes

<FilesMatch "(.inc)">
order allow,deny
deny from all
</FilesMatch>

# Compress/gzip html, XML, css and js and fonts and CSV
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript application/javascript font/ttf application/octet-stream

# Add a far future Expires header to .gif, .jpg, .css and .js.
# TODO - Need to add a versioning system to resource URLs to make them cacheable.
<FilesMatch ".(png|gif|jpg|js|css|ico)$">
ExpiresActive On
ExpiresDefault "access plus 30 days"
Header set ETag ""
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
DEFLATE

Comments

Apache