View Single Post

  #1 (permalink)  
Old 06-25-2008, 06:08 PM
mumuri mumuri is offline
Junior Member
User
 
Join Date: May 2008
My distro: Debian
Posts: 11
Rep Power: 0
mumuri is on a distinguished road
Default lighttpd mod_expire how to check it's work

hello

I have got this config (with mod_expire activated)

Code:
expire.url = (
                  "*.js"     => "access 7 days",
                  "*.css"    => "access 7 days",
                  "*.gif"    => "access 7 days",
                  "*.jpg"    => "access 7 days",
               )
when i do a curl -I , i got this result, but there is no cache-control tag ? is it normal ? how can i check that the mod works well

Code:
curl -I http://forum.topflood.com/themes/forums/style/style.css
HTTP/1.1 200 OK
Content-Type: text/css
Accept-Ranges: bytes
ETag: "-1348294228"
Last-Modified: Tue, 24 Jun 2008 21:49:02 GMT
Content-Length: 4955
Date: Wed, 25 Jun 2008 11:37:30 GMT
Server: lighttpd/1.4.19

thanks in advance
Reply With Quote