How to manage cache in magento 2 ?

You can manage cache in Magento 2 either from admin or using SSH. We are going to discuss both methods. Simply follow the steps to manage cache:

Admin:- Steps to manage cache in Magento 2.

Step 1: Login to your admin.

Step 2: Go to System > Tools > Cache Management.

Step 3: Click on Flush Magento Cache.

Once the process is completed, you will get a success message like:

SSH:

Step 1: Go to Magento 2 root directory and run the bellow command to manage cache.

Step 2: Run this command:

php bin/magento cache:flush

Shortcut of the above command:

php bin/magento c:f

Once the process is completed, you will get a success message like: