Revision: 6974
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 27, 2008 13:18 by cbrant
Initial Code
<IfModule mod_expires.c> ExpiresActive on ExpiresDefault "now" ExpiresByType text/html "now" ExpiresByType text/xml "now" ExpiresByType text/css "access plus 8 hours" ExpiresByType text/plain "access plus 8 hours" ExpiresByType application/x-javascript "access plus 8 hours" ExpiresByType application/x-shockwave-flash "access plus 8 hours" ExpiresByType application/pdf "access plus 8 hours" ExpiresByType image/gif "access plus 8 hours" ExpiresByType image/png "access plus 8 hours" ExpiresByType image/jpeg "access plus 8 hours" ExpiresByType image/x-icon "access plus 8 hours" ExpiresByType video/x-flv "access plus 8 hours" ExpiresByType video/quicktime "access plus 8 hours" </IfModule>
Initial URL
http://www.bytechemist.com/2008/06/27/apache-cache-control-using-mod_expires-with-expires-by-type/
Initial Description
Use Apache's mod_expires to explicitly set the expiration of a file by it's type. This will enable to browser to cache these static assets and greatly increase performance.
Initial Title
Apache Cache Control using mod_expires with Expires By Type
Initial Tags
apache, cache
Initial Language
Apache