Re: debugging cache

2010-01-04 Thread Eric Abrahamsen
On Dec 24, 2009, at 10:28 PM, brook wrote: > > > On Dec 23, 5:13 am, Eric Abrahamsen wrote: >> >> I'm using memcached with the cache_page decorator, and it simply >> wasn't caching >> views. > >> CACHE_MIDDLEWARE_KEY_PREFIX = 'blah' >> CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True >> CACHE_BACKEND =

Re: debugging cache

2009-12-24 Thread brook
On Dec 23, 5:13 am, Eric Abrahamsen wrote: > > I'm using memcached with the cache_page decorator, and it simply wasn't > caching   > views. > CACHE_MIDDLEWARE_KEY_PREFIX = 'blah' > CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True > CACHE_BACKEND = 'memcached://XX.XX.XX.XXX:6905/' > > I have no cache-rel

Re: debugging cache

2009-12-24 Thread Eric Abrahamsen
On Dec 24, 2009, at 1:57 AM, Peter Rowell wrote: >> CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True > > I know this is a silly question, but have your tried this *as an > anonymous user*? I ask because it's easy to forget you are logged in. > When in doubt use something like Firefox's Web Developer Toolba

Re: debugging cache

2009-12-23 Thread Peter Rowell
> CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True I know this is a silly question, but have your tried this *as an anonymous user*? I ask because it's easy to forget you are logged in. When in doubt use something like Firefox's Web Developer Toolbar and clear all the cookies for your test site. -- You re

debugging cache

2009-12-22 Thread Eric Abrahamsen
Hi, I noticed a while ago that my cache wasn't doing anything – I'm using memcached with the cache_page decorator, and it simply wasn't caching views. I've verified that memcached is running, and my settings.py file is pointed at the right address. Here are my relevant settings: CACHE_MIDDL