Le 3 févr. 2011 à 12:55, Ivo Brodien a écrit : > I did the following to enable memcache: > > 1 ) install memcache and it is running with default values: > /usr/bin/memcached -m 64 -p 11211 -u nobody -l 127.0.0.1 > > 2) put a decorator over my view @cache_page(60 * 2) > > 3) enable cache panel in debug toolbar > > The Problem is, that the edebug panel says 0 for all the cache values, so I > suppose it is not used. > > How can I debug this problem further? > > I did not put any CacheMiddleware in settings.py cause I think this is not > necessary with the per-view cache? > > Thanks!
Hi, I assume you configured the cache backend to point to memcache, didn't you ? Note that it is different from enabling the cache panel. Regards, Xavier. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.