Filebrowser loads very slow (times out) for s3 directory

82 views
Skip to first unread message

Dheeraj Sayala

unread,
Aug 2, 2012, 7:50:27 AM8/2/12
to djangofi...@googlegroups.com
We are shifting our media to Amazon s3. When I access a directory with 15000 image files, the filebrowser popup always times out(65s). Is this a known problem? Can somebody point me to a way to improve this?

This is how I set up Filebrowser:

# urls.py
from filebrowser.storage import S3BotoStorageMixin
from storages.backends.s3boto import S3BotoStorage
from filebrowser.sites import site

class FBStorage(S3BotoStorage, S3BotoStorageMixin):
    pass

site.storage FBStorage(location='media/files')

Is this the right way to do it? I am using version 3.4.2 with Django 1.3.
Reply all
Reply to author
Forward
0 new messages