Re: Disabling and clearing cache

2008-04-29 Thread Julien
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 fil

Disabling and clearing cache

2008-04-29 Thread Julien
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 --~--~-~--~~--