From: Lukas Fleischer Date: Wed, 5 Feb 2014 09:23:58 +0000 (+0100) Subject: Add a cache-snapshot-ttl configuration variable X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/a3722ec3c6660ace9fe637d617a0ca225acfacbc?hp=a3722ec3c6660ace9fe637d617a0ca225acfacbc Add a cache-snapshot-ttl configuration variable This can be used to specify the TTL for snapshots. Snapshots are usually static and do not ever change. On the other hand, tarball generation is CPU intensive. One use case of this setting (apart from increasing the lifetime of snapshot cache slots) is caching of snapshots while disabling the cache for static/dynamic HTML pages (by setting TTL to zero for everything except for snapshot requests). Signed-off-by: Lukas Fleischer ---