What is the difference between "Flush Magento Cache" and "Flush Cache Storage" in magento's cache management?
Flush Cache StorageRefreshes the cache of all Magento stores, regardless of Commerce tag. All Magento stores sharing the cache storage will have cleared the cache. The cached files used by other applications are removed in the process. It may affect other processes that run the same cache storage.
With different usages, all 12 types of Magento 2 Cache are effective in improving the speed, making your Store perform better.
Magento 2 cache is in the var/cache directory off the store root with the settings located under System -> Cache Management. Configuration – generally, the system collects configuration info from all module/config.
To enable all cache using Magento 2 command line, enter the following command: php bin/magento cache:enable. If you want to turn on specific cache types, enter them separated by spaces.
Sometimes the cache location (like /tmp/
) or service (like Memcache) is shared with other applications. "Flush Magento Cache" removes only those entries that Magento reliably tracks as its own. "Flush Cache Storage" clears everything but might affect other applications if they're using it.
Normally the location is var/cache/
in Magento's folder so is not shared after all. It is safe to use either button. Sometimes (rarely) entries are not clearly tagged or Magento loses track of them and only the second button has an effect on them. I tend to use the second button when I'm having difficulty tracking down the cause of a problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With