How to Clear the Cache in Magento

Magento by default includes a caching system to help improve the performance. When you make changes to your Magento website, you may not see the changes immediately. In cases where you want to see the changes you have made to your live Magento website, you’ll need to clear the cache files. Clearing the Magento cache files is easily accomplished in the Magento Admin Panel.

In this article, we’ll show you how to clear the Magento cache.

Clearing Cache in the Admin Panel

  1. Log into your Magento Admin Panel.
  2. Go to System > Cache Management.
    Magento Cache Management
  3. Click on the Flush Cache Storage button.

Let’s take a quick look at the difference between the Flush Magento Cache and Flush Cache Storage functions. Flush Cache Storage removes all the cache files regardless of any perimeters. Flush Magento Cache tries to do a check for invalidated pages and will remove them accordingly. If you’re unsure of which to use, using the Flush Cache Storage will ensure that ALL CACHE FILES are removed.

Manually Clearing the Magento Cache

You can clear the Magento cache manually as well. If you’re working in FTP or cPanel File Manager and need to quickly clear your Magento Cache files it’s relatively easy. All the cache files for Magento are stored in the /var/cache folder.

  1. With your FTP program or cPanel File Manager, navigate to the root directory of your Magento cart.
  2. Open the var/cache folder.
    Open the var/cache folder
  3. Select all the contents in the folder and delete them.
    Delete the Cache in Magento

Now, when you refresh your website, you should be able to see all the changes you have made.

Please feel free to visit our other Magento Tutorials in our Education Channel.

Not a current customer? Explore our web hosting for Magento!

Carrie Smaha
Carrie Smaha Senior Manager Marketing Operations

Carrie enjoys working on demand generation and product marketing projects that tap into multi-touch campaign design, technical SEO, content marketing, software design, and business operations.

More Articles by Carrie

0 thoughts on “How to Clear the Cache in Magento

  1. Hi, I am new to using magento and at my job we have various problems such as stuff not showing up or the site freezing or not saving what we changed. sometimes i get a timed out error. I was just wondering if i flush the cache will that help solve some of this and will i loose any data by doing so?

    1. Hello, Katy. I regret to hear you are having Magento problems. You may want to investigate resource optimization with regard to your databases, Javascript, or CSS, etc. The cache is generally there to help load the site faster. You can certainly try flushing the cache, but I advise optimizing as an overall step toward getting the site performance up.

  2. My sessions are set <session_save><![CDATA[db]]></session_save>, so I have no files to flush. What about flushing core_sessions table?

    Thanks James Niland


    1. Hello James,

      Thank you for your question. The core_sessions table typically stores information such as the customer’s cart contents, and not the cache of your site.

      I found a post online where they offer alternate suggestion, but you will have to test it to verify whether it works for you. (I recommend backing up your site first).

      Thank you,

Was this article helpful? Join the conversation!