django-imagekit icon indicating copy to clipboard operation
django-imagekit copied to clipboard

Image retrieval is extremely slow under boto and django-storages

Open rafaelcanovas opened this issue 11 years ago • 1 comments

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

rafaelcanovas avatar Sep 04 '13 16:09 rafaelcanovas

Use CloudFront with the S3 bucket. It worked for me.

javimb avatar Dec 21 '13 19:12 javimb