What’s the Preferred Way to Disable (Most) Caching in Mautic 7 for a Test Instance?

Hello,

When working with Mautic 7 in a development or test environment, caching can quickly become a source of friction. Changes to templates, configurations, or plugins don’t always appear immediately, leading many new developers to ask:

What’s the recommended way to disable — or at least minimise — caching in Mautic 7?

With the platform now built on modern Symfony conventions, some of the older approaches (like /index_dev.php) are no longer available. So what’s the current best practice in M7 to disable caching and or to switch from production mode to dev mode ?

I have checked the development documentation but can find nothing that works. And there is no published training material to lean from.

Therefore I kindly ask the developers to share this important information to assist new developers code and test faster ?

Thanks.

Hi there,

Caching is by default turned off when you’re working locally, as it uses the dev environment.

Please check the dev docs for more detailed explanations of how Symfony works with environments: