Subject: Re: Nginx cache returns MISS after a few hours, can't be set up to
cache "forever"
Hi,
thank you, yes, the problem was the keys_zone too low. There were ~8 keys
in the cache with only 10M zone size.
Jan
___
nginx mailing list
nginx@ngin
Hi,
I am trying to cache files "forever". Unfortunately in about 2-6 hours the
cache starts to return MISS again. This is the setting:
---
proxy_cache_path /var/cache/nginx-cache levels=1:2 keys_zone=mycache:10m
max_size=20g inactive=10y;
proxy_cache_valid 10y;
"Expires" header returned by