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
  • 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.


server.stat-cache-engine = "simple" 

See Also

Updated by stbuehler about 7 years ago · 8 revisions