Htaccess File


DirectoryIndex index.php
Options -Indexes

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

# 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 ""
Exit mobile version