Correction of a minor error in the previous message: # levels=1:1:1 also provides 16^3 = 4096 directories, but in 3 levels proxy_cache_path /data/nginx/cache levels=1:1:1; /data/nginx/cache/b/1/5/d7b6e5978e3f042f52e875005925e51bby yolabingo - Nginx Mailing List - English
Results of queries for the same URL using different settings for proxy_cache_path "levels" # levels not specified, so all cache files reside in a single directory proxy_cache_path /data/nginx/cache; /data/nginx/cache/d7b6e5978e3f042f52e875005925e51b # a lot of config examples use levels=1:2 - this provides 16 x 256 = 4096 directories in 2 levels proxy_cache_path /data/ngby yolabingo - Nginx Mailing List - English