duncan3dc/twitter/master/web/.htaccess - Htaccess File

duncan3dc/twitter/master/web/.htaccess

Header set Cache-Control "no-cache"
<FilesMatch ".(js|css|png|jpg|jpeg|gif|ico|pdf)$">
    Header set Cache-Control "max-age=2592000, public"
</FilesMatch>

RewriteEngine On

# Redirect any requests for files that don't exist to our index.php
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [L]

On Github License

Files

Download PDF of Htaccess file
no-cache, REQUEST_FILENAME

Comments

Apache