Our brands

How To Clear Cache Magento 2

magento 2 clear cache

You must be looking for the fastest way to clear cache in magento 2. In this tutorial, I will show you the most simple way to clear cache magento 2 store

Option 1: Clear Cache Via Admin System

Firstly, please go to System >> Cache Management

clear-cache-1

Then you will see like below image

clear-cache-2

Next, you need to identify what cache type that you want to refresh. Each cache type has description, you can read it before deciding which one you need to enable.

After that, please check select the checkbox on what you want

clear-cache-3

Choose Enable >> click on “Submit

clear-cache-4

In the next step, in order to clear cache, please choose the types of Cache that you have enabled >> Refresh >> Submit

clear-cache-5

Flush Magento Cache and another one to Flush Cache Storage

Flush Magento Cache” help to remove all the items from cache that have Magento tag.

Flush Cache Storage” removes all the items from Cache both those with Magento tag and those without it.

clear-cache-6

Full Page Cache

Full page cache significantly help to speeds up page load time, reduces the load on the server, improves website performance

To enable Full Page Cache, please go to Store >> Configuration >> Advanced >> System >> Full Page Cache

clear-cache-7

In magento 2, there are 2 type of caching application supported: Built-in Application and Varnish Caching

According to a recent research, built in application make your pages load faster from 4 to 9 times than Varnish Caching

Option 2: Clear the cache using Command Line

If there is no any access of admin. Without login at admin side we can clear the cache or flush cache.
Now, here we are describing the command:

1. Enable the cache use this:


php bin/magento cache:enable

2. Disable the cache use this:


php bin/magento cache:disable

3. Flush the cache use this:


php bin/magento cache:flush

4. Clean the cache in the site:


php bin/magento cache:clean

Thanks for your attention to our tutorial “How To Clear Cache Magento 2“. You can find more magento 2 tutorial on VenusTheme Blog. Below I suggest some of them. In case, you need to customize any things on your site, please feel free to contact us to venustheme@gmail.com. Some of the small changes are free of charge, get more detail about our custom work service here: http://www.venustheme.com/service/

Related Posts

GET ACCESS TO 60+ MAGENTO THEMES FOR ONLY $84

HOW TO ADD MAGENTO 2 CUSTOMER GROUPS
ULTIMATE WAY FOR MAGENTO 2 ADD CATEGORY |VENUSTHEME
HOW TO SET UP MAGENTO 2 IMPORT PRODUCTS QUICKLY?
BEST WAY TO ADD PRODUCT ATTRIBUTE MAGENTO 2
QUICKEST WAY TO ADD IMAGE PRODUCT MAGENTO 2

Share this Post!

Alena Dao
Alena Dao
“Good marketing makes the company look smart. Great marketing makes the customer feel smart.”

0 Comment

Leave a Comment

Your email address will not be published.

Do NOT follow this link or you will be banned from the site!