Guys, I have a proxy which runs at http://xs.to. It caches http://f0.ultraxs.com. I need it to rewrite to a JPG 10% of the time. I did this with upstream backend, but the issue was that the disk i/o really shot up doing that. Is there a good clean way to run an if statement and rewrite 10% of the requests ? Khalidby kshaikh - Nginx Mailing List - English
We have 1M files being cached in one directory. We own a top 2,000 web site in the world with about 100 servers using Nginx. We need to improve this such that it caches using the first 4 letters of an 8 digit unique code. Like this image_ABCDEFGH.jpg should cache on the file system like A/B/C/D/image_ABCDEFGH.jpg Right now all 1 million files just are stored in one directory whiby kshaikh - Requests for Paid Services