Welcome! Log In Create A New Profile

Advanced

Feature Request - File size limit for caching.

Kingsley Foreman
December 28, 2009 10:30PM
Hi All,

My first feature request for a while (generally nginx has everything i
need).

We use nginx's proxy_pass for a couple of systems, we however want to add
some caching to this. So my request is to add a file size limit option to
what can be cached.

something like

proxy_cache_path path [levels=number] keys_zone=zone_name:zone_size
[inactive=time] [max_size=size] [max_filesize=size];

or

proxy_cache_file_maxsize: 2m;

Which would limit the cache to only add files under 2 megabytes in size. It
will just proxy_pass everything else.


Kingsley Foreman
Systems Support

=============================================
Internode Pty Ltd

PO Box 284, Rundle Mall 5000
Level 5 150 Grenfell Street, Adelaide 5000
Phone: +61 8 8228 2978
Fax: +61 8 8235 6978
Web: http://www.internode.on.net
http://games.on.net
=============================================


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Feature Request - File size limit for caching.

Kingsley Foreman December 28, 2009 10:30PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 275
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