roxen.lists.roxen.general

Subject Author Date
Re: [PATCH 14/17] New module: gzip-on-the-fly Stephen R. van den Berg <srb[at]cuci[dot]nl> 22-01-2009
Martin Stjernholm wrote:
>"Arjan van Staalduijnen" <<Arjan.van.Staalduijnen[at]rtl.nl>> wrote:
>> /.../ The vary_callback mechanism was the only thing available to
>> guarantee proper responses to non-supportive browsers, so in my
>> opinion it is a requirement.

>Perhaps true if you do it in a module, but if you build it into the
>protocol then you can bypass the cache or (if it's worth the bother)
>unpack the compressed cache entry. That's what I meant.

Uncompressing the cache entry usually is faster than reading it from disk
(unless you're using 100% CPU because of other threads already).
-- 
Sincerely,
           Stephen R. van den Berg.

"Beware: In C++, your friends can see your privates!"