-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5128b37
commit fa8440f
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
## EXPIRES CACHING ## | ||
<IfModule mod_expires.c> | ||
ExpiresActive On | ||
ExpiresByType image/jpg "access plus 1 year" | ||
ExpiresByType image/jpeg "access plus 1 year" | ||
ExpiresByType image/gif "access plus 1 year" | ||
ExpiresByType image/png "access plus 1 year" | ||
ExpiresByType text/css "access plus 1 month" | ||
ExpiresByType text/javascript "access plus 1 month" | ||
ExpiresByType application/pdf "access plus 1 month" | ||
ExpiresByType text/x-javascript "access plus 1 month" | ||
ExpiresByType application/x-shockwave-flash "access plus 1 month" | ||
ExpiresByType image/x-icon "access plus 1 year" | ||
ExpiresDefault "access plus 2 days" | ||
ExpiresActive On | ||
ExpiresByType image/jpg "access plus 1 year" | ||
ExpiresByType image/jpeg "access plus 1 year" | ||
ExpiresByType image/gif "access plus 1 year" | ||
ExpiresByType image/png "access plus 1 year" | ||
ExpiresByType text/css "access plus 1 month" | ||
ExpiresByType text/javascript "access plus 1 month" | ||
ExpiresByType application/pdf "access plus 1 month" | ||
ExpiresByType text/x-javascript "access plus 1 month" | ||
ExpiresByType application/x-shockwave-flash "access plus 1 month" | ||
ExpiresByType image/x-icon "access plus 1 year" | ||
ExpiresDefault "access plus 2 days" | ||
</IfModule> | ||
## EXPIRES CACHING ## | ||
|
||
RewriteEngine on | ||
RewriteCond %{SCRIPT_FILENAME} !-f | ||
RewriteCond %{SCRIPT_FILENAME} !-d | ||
RewriteCond %{SCRIPT_FILENAME} !-l | ||
RewriteRule ^(.*)$ index.php/$1 | ||
RewriteRule ^(.*)$ index.php?/$1 [QSA,L] |