Difference between "Flush Magento Cache" and "Flush Cache Storage" in magento?


In Magento. There are two commands that are used to flush/clear cache.

  • php bin/magento cache:flush
  • php bin/magento cache:clean


php bin/Magento cache:flush

It will remove all items from the default Magento cache (var/cache) and var/full_page cache.

php bin/magento cache:clean

It will remove all items from the cache. This is the equivalent of deleting the entire contents of the cache folder on the server. If your system uses an alternate cache location, any cached files used by other applications will be removed.


No comments:

Post a Comment