Re: Caching Options

2012-08-22 Thread Phang Mulianto
Hi i also use johhny cache, why it not hit your cache? Johny cache will cache your queryset and update it when the database table for the queryset updated. I only cache the queryset without add code in the views, johny cache handle the rest Pada 23 Agu 2012 06.46, "James" menulis: > Right now,

Caching Options

2012-08-22 Thread James
Right now, I'm loading up some data VIA the orm. The nature of the data is fairly complex, somewhere around 10-12 tables are touched per insert and about twice that number referencing static helper tables. For production and day to day use, I've been using django-cache-machine, but I've also be

Re: caching options

2009-12-22 Thread Javier Guerra
On Tue, Dec 22, 2009 at 3:14 PM, Victor Loureiro Lima wrote: > You can purge the cache whenever you need and update it accordingly. another strategy is to use the most volatile data as part of the cache key. that would ensure that new data would ask for inexistent cache entries. the old ones wo

Re: caching options

2009-12-22 Thread Victor Loureiro Lima
You can purge the cache whenever you need and update it accordingly. You would then have a granular cache system ( or low-level cache ). You would have to update the cache whenever the object it self is updated... Pretty common actually.. Victor Lima 2009/12/22 Continuation > I looked at the d

caching options

2009-12-22 Thread Continuation
I looked at the doc and it seems that django's caching system is based on time - you have to define how long a cached page or view will live. For my case (and for a lot of people I'd imagine) that wouldn't work. For example in generating an inox list list or "how many new messages you have" count