srpurdy/SharpEdgeCMS/master/Jquery2.htaccess
RewriteEngine on
RewriteCond $1 !^(index.php?|install|assets|sharpedge|admin|themes|combine.php)
RewriteRule ^(.*)$ /index.php?/$1 [L]
# 1 YEAR
ExpiresActive On
<FilesMatch ".(otf|ico|pdf|flv|woff)$">
Header set Cache-Control "max-age=29030400, public"
ExpiresDefault "access plus 1 years"
Header unset Last-Modified
Header unset ETag
SetOutputFilter DEFLATE
</FilesMatch>
# 1 MONTHS
<FilesMatch ".(jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2419200, public"
ExpiresDefault "access plus 1 month"
SetOutputFilter DEFLATE
</FilesMatch>
<FilesMatch ".(xml|txt|css|js)$">
Header set Cache-Control "max-age=604800, public"
ExpiresDefault "access plus 1 week"
SetOutputFilter DEFLATE
</FilesMatch>
# 30 MIN
<FilesMatch ".(html|htm|php)$">
SetOutputFilter DEFLATE
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteRule js/site_([0-9]+).js combine_jq2.php?version=$1 [L]
On Github License
Files