I want to disable all cache storage in Magento.
But, When trying using the Admin Panel Cache Management nothing is disabled.
Is there another way to disable the cache besides the Admin panel?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI want to disable all cache storage in Magento.
But, When trying using the Admin Panel Cache Management nothing is disabled.
Is there another way to disable the cache besides the Admin panel?
Got to cmd. Use:
php bin/magento cache:disable
sudo php bin/magento cache:disable
System > Cache Management
On the left side, click Select All, and from the dropdown Actions menu select Disable > Submit .
To ensure that the cache has been completely cleared, click Flush Magento Cache and Flush Cache Storage in the upper right side of Cache Storage Management menu.
To manually disable cached items if the Admin backend is not available:
The cache settings are stored in the core_cache_option
table
value 1 = enabled, 0 = disabled
Use phpmyadmin or the following mysql command to disable:
update core_cache_option SET value = '0' WHERE value LIKE '1';
Then clear cache to reload config settings or manually delete cache by deleting all var/cache/mage--?
subdirectories.
If this is not disabling all cache items, then you have a Magento cache directory permissions problem and Magento is storing its cache in an alternate location.
Check app/etc/env.php it should be writable for web server user. This file stores configuration of cache