15 lines
417 B
ApacheConf
Executable File
15 lines
417 B
ApacheConf
Executable File
<IfModule mod_expires.c>
|
|
ExpiresActive On
|
|
ExpiresByType image/jpg "access 1 month"
|
|
ExpiresByType image/jpeg "access 1 month"
|
|
ExpiresByType image/gif "access 1 month"
|
|
ExpiresByType image/png "access 1 month"
|
|
ExpiresDefault "access 1 week"
|
|
</IfModule>
|
|
|
|
Options +FollowSymLinks
|
|
RewriteEngine on
|
|
|
|
# Remove version number on js and css files
|
|
RewriteRule ^(/?(js|css)/.+?)\.\d+\.(js|css)$ $1.$2 [L]
|