Proxy Feature Request

mat h mat999 at gmail.com
Thu Sep 9 11:40:56 MSD 2010


Ok first of all long time mailing list reader here, first time in a
while ive sent something in.

Ok, heres my request:
A module that would allow for a partial proxy_cache based on the last
modified date returned by the upstream server, basically here's the
pseudo code for it (persuming that the location block had something
like "proxy_partial_cache on;")

Request: http://test.com/123.html
Fetch Page http://upstream/123.html
loop headers {
if(header=='last-modified'){
if(last_modified_date <= proxy_last_modified_date){
return proxy_data and terminate_upstream_connection;
}
}
}
return upstream_data;

Hope that explains my request,
I would consider putting a few $$ towards such a module/modification
if someone was to accept (and of course it would be open source) as it
could save alot of bandwidth for us.



More information about the nginx mailing list