proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=myCache:8m max_size=100m inactive=1h;
- What does the
keys_zone=myCache:8mmean? There's not much said to it in the docs:
In addition, all active keys and information about data are stored in a shared memory zone, whose name and size are configured by the keys_zone parameter.
12h) is higher than the specified
proxy_cache_path? Which rule will it follow? e.g.
proxy_cache_valid 200 302 12h; proxy_cache_valid 404 302 1h;