nginx mailing list
[email protected]
http://nginx.org/mailman/listinfo/nginx
On Mon, Jul 12, 2010 at 02:53:55PM +0300, [email protected] wrote:
Hi,
I want to be able to cache proxy responses indefinitely (until purged
manually by me, using cache purge module).From the docs it seems like proxy_cache_valid must get a number, can
it get something to tell it to store indefinitely (until purged or
until LRU)?
Something like:
proxy_cache_valid infinite;
Currently there is no way to say infinite, but you can set
proxy_cache /path/to/cache inactive=2y ...;
proxy_cache_valid 2y;
–
Igor S.
http://sysoev.ru/en/