Project

General

Profile

Leverage browser caching

Added by icesoul over 12 years ago

Hello, i'm using centos5 whit lighttpd/1.4.26
On the apache i was add on the .htaccess

ExpiresActive On
ExpiresByType image/gif "now plus 1 month" 
ExpiresByType image/jpg "now plus 1 month " 
ExpiresByType image/jpeg "now plus 1 month " 
ExpiresByType image/png "now plus 1 month " 
ExpiresByType image/bmp "now plus 1 month " 


On the lighty dont work this
How to fix this "Leverage browser caching"
Im testing whit this tool http://pagespeed.googlelabs.com/


Replies (3)

RE: Leverage browser caching - Added by icesoul over 12 years ago

on the /etc/lighttpd/lighttpd.conf "mod_expire" is loaded

On the lighttpd.domainname.com i have add

 $HTTP["url"] =~ "^/img/" {
         expire.url = ( "" => "access plus 1 years" )
    }


and nothing happend

    (1-3/3)