Project

General

Profile

Actions

Server stat-cache-engineDetails » History » Revision 7

« Previous | Revision 7/11 (diff) | Next »
stbuehler, 2009-11-05 20:46


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.

Example

server.stat-cache-engine = "simple" 

See Also

Updated by stbuehler about 15 years ago · 7 revisions