To flush Magento 2 cache:

  1. Go to Magento root directory
  2. Type: php bin/magento cache:clean and php bin/magento cache:flush

php bin/magento cache:flush

Removes all items in the default Magento cache (var/cache) and the var/full_page cache that have a Magento tag.

php bin/magento cache:clean

This command removes all items in 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.

4.20 / 5.0
Article rating (10 Reviews)
Do you find this article useful? Please, let us know your opinion and rate the post!
Not badGoodVery GoodGreatAwesome