add caching information for Apache?s ?mod_expires? module for static files
This commit is contained in:
parent
ce48e09073
commit
2d2e81d49d
1 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
|||
<IfModule mod_expires.c>
|
||||
AddType text/javascript .js
|
||||
|
||||
ExpiresActive on
|
||||
ExpiresByType image/png "access plus 1 week"
|
||||
ExpiresByType image/jpeg "access plus 1 week"
|
||||
ExpiresByType text/javascript "access plus 1 week"
|
||||
</IfModule>
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue