How to Manually Clear Magento 2 Cache – Step by Step Guide

Clearing Magento cache is something every Magento store owner needs to learn. With the release of Magento 2 in 2015, many Magento owners have migrated their stores to the new version to get better performance. This step by step guide will help you understand how to effectively clear Magento 2 cache without the asking your developer for it.

How to Manually Clear Cache in Magento 2?

This guide will show you the fastest way to clear Magento cache manually. We will show you in this tutorial the easiest practice of clearing Magento 2 cache.

Magento 2 Clear Cache via Admin Panel

To do that, go to the Admin Panel> System> Cache Management:


First, you must specify the types of cache you intend to refresh. For that, cache types will have to be enabled if they are disabled.

Once you have selected the Cache Types, click drop-down menu and select Enable and click Submit.

Clear Magento 2 Cache

Select the Cache Types again and press the drop-down menu. Refresh and click Submit.

How to Flush Magento 2 Cache:

Now go to Admin Panel> System> Cache Management. Over there you will see 2 big buttons on the top. The first one will Flush Magento Cache and the second one will Flush Cache Storage. Click on both to clear Magento Cache and Cache Storage for your website.

By clicking “Flush Magento Cache” all the default Magento Cache items that have Magento tag will be removed.

By clicking “Flush Cache Storage” all the items from Cache with Magento tag and without it will be removed.

Flush Magento 2 Cache

Additional Cache Management:

Magento 2.0 has another method as well to Flush Catalog Images Cache and JavaScript/CSS Cache.

Navigate to Admin Panel> System> Cache Management and you will see the options at the bottom of the page as shown below.

Magento 2 Cache management

The first option will remove the catalog images from all sections such as media/catalog/product/cache.

The second option will remove the JavaScript copy and CSS files from the Cache of your Magento 2 store

Magento 2 Full Page Cache

To improve your website performance and webpages loading speed, you can enable Full Page Cache option.

Go to Admin Panel> Stores> Configuration> Advanced> System> Full Page Cache and select one of the options required to Built-In Cache or Varnish Cache:

Magento Full Page Cache Magento Full Page Cache

Research has revealed that Built-In Applications help your pages get 4 to 9 times faster loading speeds compared to Varnish Caching.

Clear the cache using Command Line

We can also clear cache or flush cache without login at admin side In the following your will see as we describe the command:

1. To Enable the cache: php bin/magento cache:enable

2. To Disable the cache: php bin/magento cache:disable

3. To Flush the cache: php bin/magento cache:flush

4. To Clean the cache in the site: php bin/magento cache:clean

You can check more details regarding Magento cache types here.

Magento 2 Clean Cache vs. Flush:

You can run both the commands to remove played out items from your website: clean and flush Magento 2 cache. However, it is important that you learn the difference:

Magento 2 Clean cache:

Since it deletes all enabled cache types, disabled cache types are not cleaned from Magento 2

Flush Cache

Flushing a cache type purges the cache storage, which might affect other processes applications that are using the same storage. e.g. other websites. Flush cache types if you’ve already tried cleaning the cache and you’re still having issues that you cannot isolate.

How to Enable/Disable Cache Types?

Navigate to Admin Panel> Stores> Configuration

Check the cache types and click the upper left drop-down menu. Then select Enable or Disable and click Submit button.

Clear Magento 2 Cache

Congratulation! You have successfully cleared Magento 2 cache and learned to do it all by yourself. Now you can easily add your content and reflect them on your front end store without any over complicated procedures.