From 0f1c0778f2686a8e16e8e34af132ebb2c8a0f90c Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Wed, 7 Jan 2015 19:01:56 +0000 Subject: [PATCH] Disable lighttpd's stat cache in the sample config. --- debian/lighttpd/89-dump1090.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/lighttpd/89-dump1090.conf b/debian/lighttpd/89-dump1090.conf index fda8a6e..9856b9e 100644 --- a/debian/lighttpd/89-dump1090.conf +++ b/debian/lighttpd/89-dump1090.conf @@ -11,3 +11,8 @@ alias.url += ( "/dump1090/data/" => "/run/dump1090-mutability/", "/dump1090/" => "/usr/share/dump1090-mutability/html/" ) + +# The stat cache must be disabled, as receiver.json changes +# rapidly and lighttpd's stat cache often ends up with the +# wrong content length. +server.stat-cache-engine = "disable"