Project

General

Profile

Server stat-cache-engineDetails » History » Revision 8

Revision 7 (stbuehler, 2009-11-05 20:46) → Revision 8/11 (stbuehler, 2012-08-11 10:42)

h2. server.stat-cache-engine option 

 stat() system call 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: [[lighttpd:Docs:Performance#stat-cache|Performance: Stat Cache]]