Remove check for static action in mod_cache_disk_etag

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 4ec620bfac
commit b77d9a33b2
  1. 3
      src/modules/mod_cache_disk_etag.c

@ -237,9 +237,6 @@ static liHandlerResult cache_etag_handle(liVRequest *vr, gpointer param, gpointe
if (vr->response.http_status != 200) return LI_HANDLER_GO_ON;
/* Don't cache static files */
if (vr->out->is_closed && 0 == vr->out->mem_usage) return LI_HANDLER_GO_ON;
etag_entry = li_http_header_find_first(vr->response.headers, CONST_STR_LEN("etag"));
if (!etag_entry) return LI_HANDLER_GO_ON; /* no etag -> no caching */
if (li_http_header_find_next(etag_entry, CONST_STR_LEN("etag"))) {

Loading…
Cancel
Save