Make Browsers Cache Static Files With mod_expires On Apache2 (Debian Squeeze)
Posted on: 03/08/2011 06:46 PM

Howtoforge posted a tutorial about making browsers cache static files with mod_expires on Apache2 (Debian Squeeze)

Make Browsers Cache Static Files With mod_expires On Apache2 (Debian Squeeze)


This tutorial explains how you can configure Apache2 to set the Expires HTTP header and the max-age directive of the Cache-Control HTTP header of static files (such as images, CSS and Javascript files) to a date in the future so that these files will be cached by your visitors' browsers. This saves bandwidth and makes your web site appear faster (if a user visits your site for a second time, static files will be fetched from the browser cache). This tutorial was written for Debian Squeeze.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/make_browsers_cache_static_files_with_mod_expires_on_apache2_debian_squeeze.html)