Patch for Age header

Woon Wai Keen doubleukay at doubleukay.com
Wed Jun 9 09:47:42 MSD 2010


Hi all, I would like to contribute a patch to provide the cached file 
age as a variable $proxy_cache_age , which can then be used together 
with add_header Age $proxy_cache_age.

The age calculation is not RFC2616 compliant (13.2.3) as it doesn't take 
into consideration the cached origin Age header and Date. Is it feasible 
to extract this from the cached headers?

-- 
regards,
wK

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: age-header.patch
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20100609/2834d9b5/attachment.ksh>


More information about the nginx-devel mailing list