Project

General

Profile

Mod expire » History » Revision 2

Revision 1 (jan, 2006-08-03 15:53) → Revision 2/22 (Anonymous, 2006-08-08 00:54)

{{{ 
 #!rst 
 =============================================== 
 Controlling the Expiration of Content in Caches 
 =============================================== 

 ------------------ 
 Module: mod_expire 
 ------------------ 

 .. meta:: 
   :keywords: lighttpd, expire 
  
 .. contents:: Table of Contents 

 Description 
 =========== 

 mod_expire controls the Expire header in the Response Header of HTTP/1.0 
 messages. It is usefull to set it for static files which should be cached  
 aggressivly like images, stylesheets or similar. 

 Options 
 ======= 

 expire.url 
   assignes a expiration to all files below the specified path. The 
   specification of the time is made up of: :: 

     <access|modification> <number> <years|months|days|hours|minutes|seconds> 

   following the syntax used by mod_expire in Apache 1.3.x and later. 
    
   Example: :: 
    
     expire.url = ( "/images/" => "access 1 hours" hour" ) 
  
 }}}