httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Erenkrantz" <>
Subject Re: Wrong etag sent with mod_deflate
Date Sun, 10 Dec 2006 15:44:47 GMT
On 12/10/06, Ruediger Pluem <> wrote:
> Plus things could be even worse than with the default handler. Let's assume that
> we have a content handler outside of httpd (cgi script, something on a Tomcat) which
> sets its own ETag and also handles conditional requests. Lets assume further
> that checking the ETag supplied in a conditional request is a very cheap operation
> compared to generating the content.
> That would mean once we add mod_deflate into the output chain and have it modify the
> ETag, every conditional request for a compressed variant of the resource would
> cause the backend to regenerate the whole content as it would not be able to check on
> the mod_deflate modified ETag :-(.
> I guess the only way to get out of this is to use TE instead of CE in this case.

BTW, you just described Subversion and any other mod_dav backends.  =)

This gets to why ap_meets_conditions can't be done inside of the
current filter chain - it'd just be too darn expensive.  -- justin

View raw message