Patch to allow configuring max content length for proxy caching

Roman Svirsky rsvirsky at
Sun May 8 01:52:30 MSD 2011


This is something I found very useful. This patch is for limiting
proxy caching to files under a certain size. For example, in your
config file you would do this:

proxy_cache_max_cl 5m;

This would make the proxy only cache files 5m and under.

The following files were modified:


You can see the patch here:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx-1.0.1-proxy_cache_max_cl.patch
Type: application/octet-stream
Size: 2514 bytes
Desc: not available
URL: <>

More information about the nginx-devel mailing list