Just after sending this post I had an idea. I could just add a CACHE_ENABLED boolean setting and test it before pulling out the cached version. That's for disabling cache.
Any idea about clearing? I gorgot to mention that I'm using file caching. Do I necessarily have to manually delete those files, or can Django do that for me somehow? On Apr 29, 6:25 pm, Julien <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using cache.get() and .set() so do fine-grained caching of my > site. Works great, but I'd find convenient to be able to force > clearing the cache or disabling it altogether at will? Is there a > command in Django or a trick that could do that? > > Thanks a lot, > > Julien --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---