Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Make Browsers Cache Static Files With mod_expire On Lighttpd (Debian Squeeze)

Mar 25, 2011, 16:07 (0 Talkback[s])
(Other stories by falko)

[ Thanks to Falko Timme for this link. ]

"This tutorial explains how you can configure Lighttpd 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.

"I do not issue any guarantee that this will work for you!"

Complete Story

Related Stories: