Displaying images with memcached as a cache backend

59 views
Skip to first unread message

Denis

unread,
May 9, 2012, 1:35:03 AM5/9/12
to django-lfs
Hi,

When memcached is installed and set as a cache backend (settings.py,
CACHE_BACKEND = 'memcached://127.0.0.1:11211/') images on a product
pages (thumbnails) stops updating. Every time when I upload a bunch of
images I have to restart memcached - it fixes the issue.
To be honest I have no experience with memcached, but it seems
memcached itself do not have configuration file and the only caching
options in settings.py is CACHE_BACKEND. Is there are a way to
configure LFS to automatically update cache of the images upon
uploading?

Thanks in advance.

Best regards,
Denis

Kai Diefenbach

unread,
May 9, 2012, 4:39:58 AM5/9/12
to django-lfs
Hi,
Actually LFS should take care of this. If not, it is a bug. Please
file a bug at the issue tracker:

https://bitbucket.org/diefenbach/django-lfs/issues

Can you check whether clearing the cache manually helps?

http://demo.getlfs.com/manage/utilities

Kai

Denis Denisov

unread,
May 9, 2012, 11:55:57 AM5/9/12
to django-lfs
Hi,

Yes, if I reset the cache manually it helps. I created an issue #200.

Thank you for the help again, Kai.

Best regards,
Denis
Reply all
Reply to author
Forward
0 new messages