Explicit disable MySQL query cache in some parts of program
- by jack
In a Django project, some cronjob programs are mainly used for administrative or analysis purposes, e.g. generating site usage stats, rotating user activities log, etc.
We probably do not hope MySQL to cache queries in those programs to save memory usage and improve query cache efficiency.
Is it possible to turn off MySQL query cache explicitly in those programs while keep it enabled for other parts including all views.py?