cache based on file size

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


Hi,

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.

Kevin



More information about the nginx mailing list