2
0
Fork 0

[tests] only use cache.disk.etag if request was handled

personal/stbuehler/wip
Stefan Bühler 2013-08-21 12:42:37 +02:00
parent f9d0abac66
commit 8a0a8715d0
1 changed files with 3 additions and 1 deletions

View File

@ -391,7 +391,9 @@ vhost.map var.vhosts;
static;
do_deflate;
cache.disk.etag "{cache_disk_etag_dir}";
if request.is_handled {{
cache.disk.etag "{cache_disk_etag_dir}";
}}
""".format(cache_disk_etag_dir = cache_disk_etag_dir)
Env.lighttpdconf = self.PrepareFile("conf/lighttpd.conf", self.config)