Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

many requests to cdn when using django-cumulus #214

Closed
jslootbeek opened this Issue Mar 28, 2013 · 4 comments

Comments

Projects
None yet
4 participants

I'm using easy-thumbnail with django-cumulus to store my thumbnails and source files on a CDN. When I have a list of {% thumbnail ... %} templatetags, I notice that for each templatetag, easy-thumbnail will create a new CloudStorageFile class, and a new connection to my CDN. This is getting rather expensive (time-wise) and is causing pages to load slowly as each request to the CDN takes on average 500ms. While I wil work with RackSpace to address that issue (IMO it shouldn't be that long). I was wondering if there is anything we can do from an easy-thumbnail perspective to reduce the amount of HTTP queries to the CDN. I'm not sure if this is a easy-thumbnail issue, or a django-cumulus issue, or a django-cloudfiles issue, but I figured I'd start at the top of the chain.
Any help or pointers would be appreciated.

Contributor

rofrankel commented May 23, 2013

I am running into this as well, and it's an app-breaking problem.

Owner

SmileyChris commented Jun 24, 2013

This would be nice to check again against master now that some of @epicserve's hard work is in there.

Owner

SmileyChris commented Feb 21, 2014

Closing now, until I hear if this is still an issue

Has anyone run into this problem more recently? We are running into it using django-cumulus with easy-thumbnails when async generating thumbnails for files pushed to cloudfiles...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment