Project

General

Profile

Actions

Server stat-cache-engineDetails » History » Revision 8

« Previous | Revision 8/11 (diff) | Next »
stbuehler, 2012-08-11 10:42


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 over 11 years ago · 8 revisions