astappev/GCTrade/master/web/.htaccess
# Cache expire
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType font/ttf "access plus 604800 seconds"
ExpiresByType font/opentype "access plus 604800 seconds"
ExpiresByType application/font-woff "access plus 604800 seconds"
ExpiresByType application/x-font-woff "access plus 604800 seconds"
ExpiresByType text/css "access plus 7200 seconds"
ExpiresByType text/javascript "access plus 7200 seconds"
ExpiresByType application/javascript "access plus 7200 seconds"
ExpiresByType application/x-javascript "access plus 7200 seconds"
ExpiresByType text/html "access plus 120 seconds"
ExpiresByType application/xhtml+xml "access plus 120 seconds"
</ifModule>
# Cache control
<ifModule mod_headers.c>
<filesMatch ".(ico|jpe?g|png|gif|css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch ".(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch ".(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
Header unset ETag
FileETag None
</ifModule>
RewriteEngine on
RewriteRule ^assets/?$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
On Github License
Files