cache based on file size

Johns, Kevin Kevin.Johns at
Mon Aug 5 22:28:31 UTC 2013


In looking over Nginx configuration for the proxy module, I do not see an easy way to influence what is cached based on object size. I have two use cases of interest:
1. Store a small file in a particular zone (e.g., SSD), and

2. Have a large file bypass the cache (no-store large files)

Any insight on how best to accomplish this would be greatly appreciated.


More information about the nginx mailing list