Answer the question
In order to leave comments, you need to log in
Is it possible to somehow limit the size of the file cached by nginx?
Enabled caching of static files in nginx using fastcgi_cache. Is it possible to somehow prevent files larger than, say, 10 MB from getting into the cache?
Answer the question
In order to leave comments, you need to log in
what for? if this is the essence of caching? nginx related theme and serving large files
Answering the previous answerer: for example, in order not to clog the cache with files, about which it is known in advance that they either will not fit into the cache, or do not make up a significant part of the load (and will force out their small brothers with each request).
And as far as I know, there is no such option ..
And directio is about a completely different cache.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question