Welcome! Log In Create A New Profile

Advanced

Patch to allow configuring max content length for proxy caching

Roman Svirsky
May 07, 2011 05:54PM
Hello,

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:

src/http/ngx_http_upstream.h
src/http/modules/ngx_http_proxy_module.c
src/http/ngx_http_upstream.c

You can see the patch here:

http://pastebin.com/JLZpEe8j
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Patch to allow configuring max content length for proxy caching Attachments

Roman Svirsky 2046 May 07, 2011 05:54PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 265
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready