Welcome! Log In Create A New Profile

Advanced

Re: zone_size vs max_size - what's the difference?

Maxim Dounin
July 06, 2011 03:26AM
Hello!

On Wed, Jul 06, 2011 at 09:21:12AM +0800, Weikai Xie wrote:

> Hi,
> I'm wondering what's the difference between the zone_size and max_size
> parameter in a proxy_cache_path directive like below.
>
> *proxy_cache_path path [levels=number] keys_zone=zone_name:zone_size
> [inactive=time] [max_size=size];*

"zone_size" is a size of keys_zone, i.e. shared memory zone used
to store cache keys (some minimal metadata about cached pages,
about 64 bytes on 32-bit platforms).

"max_size" is a maximum size of data on disk (i.e. cache itself).

Maxim Dounin

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

zone_size vs max_size - what's the difference?

Weikai Xie July 05, 2011 09:22PM

Re: zone_size vs max_size - what's the difference?

Maxim Dounin July 06, 2011 03:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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