On 29-11-2005, at 20:55, [EMAIL PROTECTED] wrote:

What about smarter cache system? I mean update not only by time-out,
but also by a DB change.

In a news sites it will be especially usefull: content can update not
only each 'xxx' minutes, but it can also update by content
addition/edit/deletion.

When I'm faced with this problem I just put some type of cache invalidation function in _post_save of related object.

OTOH it will be a great addition to have some type of general listener interface for database object add/change/delete/...

---
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG

http://djnesh.blogspot.com/  |  http://djnesh-django.blogspot.com/
Registered Linux User 282159 [http://counter.li.org]



Reply via email to