Contact
Site: US UK AU |

How to disable caching in Magento 2

How to disable caching in Magento 2

Overview
This article shows how to disable caching in Magento 2 for development purposes.  

Purpose

Magento 2 caches many parts of your website, which is critical to daily operations but can be a nuisance during development. This document shows how to disable caching.

From your Dashboard

  1. Log in to your Magento 2 dashboard.

  2. Select System > Cache Management.

  3. The Cache Management page will appear. From the Actions drop-down list, select Disable, click the top check box to select all, then click Submit.

  4. To make sure the cache has completely cleared, click Flush Magento Cache (Figure 3).

From the CLI

Observe the following steps to disable caching in Magento 2 from the command line interface (CLI):

  1. To disable all cache types, enter:

    php bin/magento cache:disable

  2. Now make sure the cache has completely cleared by flushing the cache:

    php bin/magento cache:flush

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to configure Magento 2 storefronts
Added on Wed, Dec 30, 2015
How to enable CAPTCHA for user creation in Magento 2
Added on Mon, Feb 19, 2018
How to disable maintenance mode in Magento
Added on Fri, Dec 15, 2017
How to add admins in Magento 2
Added on Tue, Dec 11, 2018
How to change base URLs in Magento 2
Added on Wed, Jun 13, 2018
How to reset Magento 2 admin passwords
Added on Fri, Jun 3, 2016
How to set up Magento 2 to use your SSL certificate
Added on Tue, Oct 11, 2016
How to configure Magento 2 cron jobs
Added on Tue, Mar 27, 2018
How to write redirect (301) rules for Magento 2
Added on Wed, Jan 27, 2016
How to set up CDN access for Magento 2
Added on Wed, May 16, 2018