October 14, 2009 11:46PM
I have a [i]proxy_cache_path[/i] :

[b]proxy_cache_path /local/cache/nginx levels=1:2 keys_zone=cache:10m inactive=9d max_size=50G;[/b]

and also [i]proxy_cache_valid[/i] statements:

[b]proxy_cache_valid 200 9d;[/b]

I am wondering, however, if there is a way to have:

[b]inactive=infinity[/b] in the [i]proxy_cache_path[/i] and [b]proxy_cache_valid 200 = infinity[/b], so that nginx only deletes fcached files based on [i]max_size[/i].

If not, what are the MAX settings for:

[i]inactive[/i] and [i]proxy_cache_valid[/i]

?

Thank you,
Joshua
Subject Author Posted

deleting from cache by disk usage alone...

spamjoshua October 14, 2009 11:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 66
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready