How to disable caching in Magento 2 in command line or back-end


To disable a specific cache type, use this command line:

Disable caching via Backend


Magento
2 caches several parts of your online store. This feature is both crucial to daily operation and a nuisance during development. This tutorial will help you solve part of the problem by showing you how to disable caching in Magento 2.
2. From the Admin sidebar, navigate to System > Cache Management.
To re-enable specific caching type, enter:
3. From the Action drop-down menu, select Disable. Select the top checkbox to select all or select individual caches. Click Submit to continue.
Flush the cache by the command:
1. Login to the backend of your Magento 2 store.
To use the command line, use the following command to disable all cache types in your CLI:

Disable caching via command line

If you want to re-enable caching, use this command:

That comes to the end of the tutorial. If you have any further question, please comment below to let us know.

Related tutorials:

4. Click Flush Magento Cache to ensure the disabling process.

Rate this post