Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Forcibly disable the cache in Django CMS

I've been developing a couple of applications inside a Django CMS installation and have found it caches things well against my orders. This might not be such an issue in production but while I'm testing layouts, having to wait 10 minutes (or restart memcache) gets pretty boring.

Can I disable Django CMS's caching globally in my development settings?

like image 831
Oli Avatar asked Jan 08 '23 18:01

Oli


1 Answers

Set the following settings locally:

CMS_PAGE_CACHE = False
CMS_PLACEHOLDER_CACHE = False
CMS_PLUGIN_CACHE = False

If it still caches after that, then it could be a bug..

like image 170
Paulo Avatar answered Jan 16 '23 21:01

Paulo