Re: Nginx cache returns MISS after a few hours, can't be set up to cache "forever"

2017-12-20 Thread mig
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

Nginx cache returns MISS after a few hours, can't be set up to cache "forever"

2017-11-28 Thread mig
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