Django taking very long time to serve generated static files
Deal with them as a media file, save the files to your media server (CDN or local), then send the URL of the images to the browser to load them.
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!