PDA

View Full Version : how to config expires in Lighty


megatrue
10-24-2008, 12:54 AM
Hello, I have problem with Lighttpd Expires Configuration.

hier is my expires.conf

expire.url = ( "/clientscript/" => "access 1 months" )
$HTTP["url"] =~ "^/images/" {
expire.url = ( "" => "access 1 days" )
}

but after test , only .js script be cached. Why? Anyone knows it?

Dismounted
10-24-2008, 05:54 AM
<a href="http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModExpire" target="_blank">Have a look at the Lighttpd Documentation.</a>