Thursday, March 24, 2011

Making browsers Cache static files with mod_expires on Apache2 (Debian Squeeze)

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

For more information on HowtoForge

Comments (0)Add Comment
You must be logged on to post a comment. Please register if you do not yet have an account.
busy

View the original article here


This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.