[tests] only use cache.disk.etag if request was handled
parent
f9d0abac66
commit
8a0a8715d0
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue