expires.url configuration for static images in lighttpd -


I am trying to avoid repeating the images again and again from my web app. I use lighttpd to complete the static content, and I have ended up like this configured:

expire.url = ("/ Static" "=>" It seems that work is being done for JS and CSS, which are steady / stable, which will reach "1 year", "static / images" for 1 year " 1 year access ")

But it does not really work for image files - it seems that the browser still requests them repeatedly, not receiving a '304 revised' response .

relevant information:

  ** liability: ** Termination: Tuesday, 22 June 2010 13:07:38 GMT Cash-Control: Max-Age = 31104000 Last modified: Thursday, 25 June 2009 13:00:11 GMT Date: Sat, 27 Jun 2009 13:07:38 GMT ** Request header **: If modified-Since: Thursday, June 25, 2009 13:00 : 11 GMT Cache-Control: Maximum-age = 0  

Completely normal. The service of an http 304 with no body is still very fast compared to the full image / file service.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -