> On Apr 9, 2019, at 3:30 AM, Stefan Eissing <stefan.eiss...@greenbytes.de> 
> wrote:
> 
> I just did some tests with https://redbot.org/ (the site tester by Mark 
> Nottingham) against our server and it notifies of 2 things:
> 
> 1. The "Keep-Alive" header is deprecated. I tried to "Header unset 
> Keep-Alive" but that has no effect. Seems to be added very late. 
>   Do we have a way to suppress it?

Please hold off on that one.  We received several requests that it not be 
deprecated
because the information that Apache sends is useful for avoiding request loss 
when
the max is reached.

> 2. Validation responses lose the "Vary" header from the unconditional 
> response. This happens on resources where mod_deflate is active.
>   The 200 response without any "if-modified-since" etc. carries "Vary: 
> Accept-Encoding" as it should.
>   The 304 response with "if-modified-since" has no "Vary" header.
>   The code in mod_deflate looks as if it tries to add it in any case, where 
> is it lost?

That's one of many bugs related to design problems with mod_deflate.  Basically,
it chooses to insert itself into the response handling after the other checks 
are done,
which means a 304 doesn't even know yet whether the response would use gzip.
The solution (which I never found time to implement) is to replace dynamic gzip 
with
a transfer encoding generator, and/or to rewrite the mod_deflate CE encoder to 
act more
like mod_cache.

....Roy

Reply via email to