Project

General

Profile

Server stat-cache-engineDetails » History » Revision 7

Revision 6 (Anonymous, 2006-10-13 07:33) → Revision 7/11 (stbuehler, 2009-11-05 20:46)

h2. server.stat-cache-engine option 

 


 server.stat-cache-engine 

  stat() system call caching; caching. 

  lighttpd can utilize FAM/Gamin to cache stat call. 

 

  possible values are:    disable, simple or fam. 

 * 

  disable 
   no stat() call is cached (a single request might result in 3-4 stat() calls) 
   If your files are changing in size a lot, you might have to have the stat-cache 
   disabled 
 * 

  simple (default) 
   cache each stat() call for one second. 
 * 

  fam    
   if FAM or gamin are installed and lighty is linked against those libraries you 
   can use them to control the freshness of the stat-cache. 

 h3. Example 

 <pre> 

  {{{ 
 server.stat-cache-engine = "simple" 
 </pre> 

 }}} 



 h2. See Also 


 


 * [[lighttpd:Docs:Performance#stat-cache|Performance: "Performance: Stat Cache]] 
 Cache":http://trac.lighttpd.net/trac/wiki/Docs%3APerformance#stat-cache