I'm looking into caching options at the moment too. Did you end up using django-cache-utils? Is it working out for you?
On May 17, 12:36 pm, stargazer <stranger....@gmail.com> wrote: > After looking at these libraries... I think the best solution would be > not use these kind of libraries (ORMcache) at all. > > The @cached decorator like from this library: > https://bitbucket.org/kmike/django-cache-utils > caches ***and invalidates!*** function based on function name and > exact parameter set. > > my idea is to add @cached decorators to the model manager methods and > call ...invalidate for these methods in post_save() and pre_delete() > Some manual work required, but the end result is quite transparent. > > Somebody use this approach? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.