You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Akins <br...@turner.com> on 2005/08/18 15:30:30 UTC

[PATCH] mod_disk_cache, only cache req_hdrs if vary

Some more low hanging fruit.

This moves varray into disk_cache_object_t and only writes out/reads in 
  the request headers if the response actually varied.

An easy 4-7% performance boost in my tests for responses with no vary.


-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies

Re: [PATCH] mod_disk_cache, only cache req_hdrs if vary

Posted by Brian Akins <ba...@web.turner.com>.
Brian Akins wrote:
> Some more low hanging fruit.
> 
> This moves varray into disk_cache_object_t and only writes out/reads in 
>  the request headers if the response actually varied.

An improvement upon the earlier patch that only stores the request 
headers that are involved in vary.



-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies