123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #Some Ubilling web interface performance boost
- <ifModule mod_deflate.c>
- <filesMatch "\.(css|js|x?html?|php)$">
- SetOutputFilter DEFLATE
- </filesMatch>
- </ifModule>
- <ifModule mod_expires.c>
- ExpiresActive On
- ExpiresDefault "access plus 1 seconds"
- ExpiresByType image/x-icon "access plus 2592000 seconds"
- ExpiresByType image/jpeg "access plus 2592000 seconds"
- ExpiresByType image/png "access plus 2592000 seconds"
- ExpiresByType image/gif "access plus 2592000 seconds"
- ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
- ExpiresByType text/css "access plus 604800 seconds"
- ExpiresByType text/javascript "access plus 216000 seconds"
- ExpiresByType application/javascript "access plus 216000 seconds"
- ExpiresByType application/x-javascript "access plus 216000 seconds"
- ExpiresByType text/html "access plus 600 seconds"
- ExpiresByType application/xhtml+xml "access plus 600 seconds"
- </ifModule>
- <ifModule mod_headers.c>
- <filesMatch "\.(ico|jpeg|jpg|png|gif|swf)$">
- Header set Cache-Control "max-age=2592000, public"
- </filesMatch>
- <filesMatch "\.(css)$">
- Header set Cache-Control "max-age=604800, public"
- </filesMatch>
- <filesMatch "\.(js)$">
- Header set Cache-Control "max-age=216000, private"
- </filesMatch>
- <filesMatch "\.(x?html?|php)$">
- Header set Cache-Control "max-age=1, no-store, no-cache, private, must-revalidate"
- </filesMatch>
- </ifModule>
- <ifModule mod_headers.c>
- Header unset ETag
- </ifModule>
- FileETag None
- <ifModule mod_headers.c>
- Header unset Last-Modified
- </ifModule>
|