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
Then you will see like below image
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
Choose Enable >> click on “Submit”
In the next step, in order to clear cache, please choose the types of Cache that you have enabled >> Refresh >> Submit
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.
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
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 [email protected] Some of the small changes are free of charge, get more detail about our custom work service here: http://www.venustheme.com/service/
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