Answer the question
In order to leave comments, you need to log in
How to incrementally serve a file with flask?
The fact is that the file is formed on the fly from the data from the database, and there is a lot of data.
Now the file is formed in RAM and then given to the user, but when there is more RAM, there is simply not enough
How can I give the user a file in portions? Let's say 10 megabytes
Answer the question
In order to leave comments, you need to log in
https://flask.palletsprojects.com/en/1.1.x/pattern...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question