django-imagekit
django-imagekit copied to clipboard
Image retrieval is extremely slow under boto and django-storages
I'm using boto and django-storages to store my static and media files at Amazon S3, and django-imagekit to process the images. The first time an image is accessed it is generated, and the generation time is acceptable. But the subsequent retrieval delay is so huge.
I read django-imagekit checks for the existence of the file every time it is accessed, maybe this is the problem. And using the "optimist" cache backend would solve my problem. But I can't use this cache backend, since I have user profile photos, and the photos are changed and generated routinely.
boto==2.9.4
django-storages==1.1.6
django-imagekit==3.0.3
Use CloudFront with the S3 bucket. It worked for me.