Django taking very long time to serve generated static files
I also faced a similar problem but with audio files. To resolve that issue I used pagination and that solved my issue. I think you should try that, like view one image in one page and second image on second page.
In my view I generate 5 images (they are generated by pyplot.)
Everything seems to work fine.  The files are generated correctly in the right directory.
But the browser only shows one of the five images, and the requests for the other 4 usually timeout.  Looking at the django server output, the GET requests will often take five minutes to finish.
These images are ~100kb, and are present and correct on the drive immediately after being generated.
Am I missing a call for Django to update the new static files?  Something else?  Please help!