Patch for Age header

Woon Wai Keen doubleukay at
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?


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: age-header.patch
URL: <>

More information about the nginx-devel mailing list