Deleting from cache by disk usage alone

I have a proxy_cache_path :

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

and also proxy_cache_valid statements:

proxy_cache_valid 200 9d;

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

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

If not, what are the MAX settings for:

inactive and proxy_cache_valid

?

Thank you,
Joshua

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,13795,13795#msg-13795

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs