View Full Version : apache / cache / expires
ugr|dual
Thu 13th Jan '05, 6:14pm
I am searching for optimizations to reduce the traffic of our forums. Reading thru the apache expires directives I was wondering if they might be useful.
Has anyone experimented with them yet and found himself a good set that helped?
Please let me know.
kmike
Fri 14th Jan '05, 2:01am
Here're the ones we're using. They helped to reduce amount of 304 - Not Modified requests somewhat.
<FilesMatch "\.css$">
ExpiresActive On
ExpiresByType text/css "A604800"
</FilesMatch>
<FilesMatch "\.js$">
ExpiresActive On
ExpiresByType application/x-javascript "A604800"
</FilesMatch>
<FilesMatch "\.(gif|jpg|jpeg|png|bmp)">
ExpiresActive On
ExpiresByType image/gif "A5184000"
ExpiresByType image/jpeg "A5184000"
ExpiresByType image/png "A5184000"
ExpiresByType image/bmp "A5184000"
</FilesMatch>
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.