Answer the question
In order to leave comments, you need to log in
Does nginx overwrite the older cache when the cache value overflows, or does it allow clients to directly bypass the cache?
Happy Holidays everyone!
Please explain this:
Let's say the following values are set in nginx:
proxy_cache_path /var/cache/nginx/storage_cache_temp levels=1:2 keys_zone=storage:10m max_size=10g inactive=1h;
proxy_cache_valid 200 302 1h;
Answer the question
In order to leave comments, you need to log in
RTFM nginx.org/en/docs/http/ngx_http_proxy_module.html#...
When this size is exceeded, it removes the least recently used data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question