This article will go over what the cache is, when you may need to refresh it, and provide a step-by-step guide on how to do so in the Magento 2 Admin Panel.
TABLE OF CONTENTS
- What is the cache?
- When do I need to refresh it?
- The notice didn't show, but I'm still not seeing my changes.
- How to Refresh the Cache
What is the cache?
You may be wondering why you need to refresh the cache and what it actually is doing. The system stores a copy of commonly used data ("the cache") for faster load times and if you make a change to a setting or update a content block, the site needs to adjust those copies.
When do I need to refresh it?
Many times after making a setting or design change, you will see the following notice at the top of the admin panel:
One or more of the Cache Types are invalidated: Configuration, Page Cache. Please go to Cache Management and refresh cache types.
When you see this message, you will want to refresh the cache.
The notice didn't show, but I'm still not seeing my changes.
Whenever you are not seeing your changes, the first thing you will want to do is refresh the cache. If you still do not see it after doing so, let us know and we can take a look.
How to Refresh the Cache
Below we outline the steps on how to refresh the cache.
- In the Magento 2 Admin Panel, go to System > Tools > Cache Management
You should then see the following table.
- Click the checkboxes to the left of the rows that have invalidated under the Status column.
- Checkbox
- Invalidated
- If you updated a block under Content > Blocks, there may not be an Invalidated status set. Select the checkbox next to Blocks HTML Output.
- Checkbox
- To the upper left of the table, click the Submit button.
- Submit
- Submit