Commands for Flush, Enable, Disable Cache Command Line in Magento 2

Commands for Flush, Enable, Disable Cache Command Line in Magento 2

Commands for How to Flush, Enable, Disable Cache Command Line in Magento 2

This is very common issue/problem for those developer who are using Magento 2.  How to Flush, Enable, Disable Cache Command Line in Magento 2. Magento 2 has 12 types of cache by default in admin. There are 5 simple command to manage cache in command line. In this post I will show you step by step each command line.

 

1. View the cache status Run this Command

2. Clean Cache command line

3. flush cache storage used by cache types(s) command line.

The cache storage may contain additional data such as server cache.

4. Disable Cache command line

The following command will disable all cache types.

If you would like to disable specific cache type, should type command line.

5. Enable Cache command line

It is similar to Disable cache all types and specific cache type.

Enable specific cache type

Example

 

 


[paypal-donation]

About Vijay Dhanvai

A passionate blogger by heart and mind, I have been working in this field for 10 years now. A WordPress Professional, web developer and designer who intends to guide his readers about Web Design, WordPress, Blogging, Web Development, and more.

One Comment

Leave a Reply