Re: Django and caching when data is updated

2010-01-21 Thread Russell Keith-Magee
On Thu, Jan 21, 2010 at 6:00 PM, Malcolm Box wrote: > Hi, > > On Thu, Jan 21, 2010 at 7:35 AM, Russell Keith-Magee > wrote: >> >> On Thu, Jan 21, 2010 at 7:47 AM, Malcolm Box >> wrote: >> > >> > I've got a simple question that I can't find the answer to:  if the data >> > that a view depends on

Re: Django and caching when data is updated

2010-01-21 Thread Malcolm Box
Hi, On Thu, Jan 21, 2010 at 7:35 AM, Russell Keith-Magee wrote: > On Thu, Jan 21, 2010 at 7:47 AM, Malcolm Box > wrote: > > > > I've got a simple question that I can't find the answer to: if the data > > that a view depends on changes, does Django do anything smart to > invalidate > > the cach

Re: Django and caching when data is updated

2010-01-20 Thread Russell Keith-Magee
On Thu, Jan 21, 2010 at 7:47 AM, Malcolm Box wrote: > Hi, > > On the quest for performance I'm now having a look at Django's caching > framework. > > I've got a simple question that I can't find the answer to:  if the data > that a view depends on changes, does Django do anything smart to invalida

Django and caching when data is updated

2010-01-20 Thread Malcolm Box
Hi, On the quest for performance I'm now having a look at Django's caching framework. I've got a simple question that I can't find the answer to: if the data that a view depends on changes, does Django do anything smart to invalidate the cache for that view, or is it left to the programmer? If