Answer the question
In order to leave comments, you need to log in
What is the best way to cache large files (50 GB+) with nginx?
The usual nginx cache will not work, since the server must first receive the entire response, and only then cache it. How can such files be cached if Accept-Ranges: none is used?
Answer the question
In order to leave comments, you need to log in
In general, it’s not very clear why they should be cached if there are a lot of them
. In general, the easiest way is to have a local set of the most popular files and give them directly to nginx.
This has an economic effect and will have a good effect on the return speed.
What is the point of caching these files?
Faster than from the disk can only be given out of the frame.
Do you have enough frames for many files of 50 gigs?
This will not reduce traffic, it will not add speed. the channel all the same will not give out speed with which it is possible to read from frames.
So the task in its current form without details does not make sense.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question