Thanks for the replies folks, you've been very helpful.
One more question though - I didn't find any "official" way to clear
the cache of a certain object. Any suggestions?
On Sun, Feb 21, 2010 at 11:52 PM, Christophe Pettus wrote:
>
> On Feb 21, 2010, at 1:22 PM, Itay Donenhirsch wrote:
>
>> hi
On Feb 21, 2010, at 1:22 PM, Itay Donenhirsch wrote:
hi folks, a little question: when using any caching mechanism (say,
memcache) with django, how does django know when to "refresh" the
cache?
a scenario for example:
1. user gets a page, gets page content A
2. someone changes the state of the
Hi,
The user gets A. Django's caching doesn't know that the database data
changed. You could override the save method on the model so that when
data is saved you clear the cache, or update the cache maybe.
On Feb 21, 9:22 pm, Itay Donenhirsch wrote:
> hi folks, a little question: when using
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
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
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
Jonathan,
Thanks I'll check them out.
On Feb 5, 12:12 pm, [EMAIL PROTECTED] wrote:
> boralyl wrote:
> > Jonathan,
>
> > Thanks for your response. I first tested the site in firefox and
> > konqueror and had no problems. When using opera though I noticed it
> > wasn't requesting the page, as yo
boralyl wrote:
> Jonathan,
>
> Thanks for your response. I first tested the site in firefox and
> konqueror and had no problems. When using opera though I noticed it
> wasn't requesting the page, as you had mentioned. The browser cache
> was set to check every 5 hours on document requests. I c
Jonathan,
Thanks for your response. I first tested the site in firefox and
konqueror and had no problems. When using opera though I noticed it
wasn't requesting the page, as you had mentioned. The browser cache
was set to check every 5 hours on document requests. I changed it to
always and no
boralyl wrote:
> So when I initially visit the page, it doesn't allow me to rate the
> product. So I login and it redirects me to the home page(/). The
> home page prints out my user name, so I know I am logged in. However
> if I visit that product page again it still won't let me rate the
> pr
10 matches
Mail list logo