merlinblack/NigeLib/master/src/Headlinks.htaccess - Htaccess File

merlinblack/NigeLib/master/src/Headlinks.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*).[d]+.(js|css)$ $1.$2 [L] # Strip out the version number

ExpiresActive on
ExpiresByType application/javascript "now plus 1 year"
ExpiresByType application/x-javascript "now plus 1 year"
ExpiresByType text/javascript "now plus 1 year"
ExpiresByType text/css "now plus 1 year"

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache