Clearing The Magento Cache

When you hear the word cache, you are probably thinking of money. But in regards to Magento, this can be quite true. Cache is a collection of resources that is stored for later use that can be used to speed up user’s browsing experience, as well as reduce the load on the server. With cache, your web application will store frequently used data and information. This way it can easily reach the data upon request. An example of using cache would be similar to keeping track of what items are in a user’s cart or account details on your site.

If you are on Hostwinds Shared or Business hosting plans, you may be already know that there is an Inode limit on those plans. The files for the Magento cache count towards this limit. In order to prevent you from reaching the max Inode limit on Shared or Business hosting, you will want to clear the cache. Fortunately this can easily be done.

How Do I Clear The Magento Cache Manually?

If you have access to your cPanel there is an easy way of clearing the Magento cache. All it takes is just to delete the files within a folder.

  1. As always, before making changes or deleting items, it is always suggested to save a backup of your files to your computer in case they need to be restored
  2. To start, you will want to be logged into your cPanel
  3. Once logged in, you will want to navigate to find the File Manager. This will be within the Files section of your cPanel
  4. In the cPanel File Manager you will want to navigate to the var/cache/ folder which will be located in your Magento installation folder.
    Where to find the var/cache folder
  5. Once you have found that folder, you will want to delete all the files inside of this folder. 
  6. Deleting these files will clear the cache for your Magento installation. This will also lower the Inode usage on your account as well.

How Do I Clear The Magento Cache From The Dashboard?

Clearing the Magento cache from the Dashboard can be another easy way. Especially if you are afraid of deleting the wrong files through cPanel. Though Magento has had some interface updates that has moved this option around. Refer to the steps that are correct for your version below.

Magento Version 1.9 and Older

  1. The first step is to login to your Magento Dashboard.
  2. Once logged in, you will want to navigate to the System options, and from the Drop down select Cache Management
    Where to find the Cache Management option in Magento
  3. From the Cache Management screen, you will see an option to Flush Magento Cache towards the top. Clicking on that will clear the cache for Magento.
    Where to find the Flush Cache option in magento

Magento Version 2

  1. For Magento Version 2, you will want to start off in the dashboard as well, and be logged in.
  2. After you are logged in, on the left will be the Settings option from the menu. Clicking on that will reveal more options. From those other options, select the Cache Management.
    Where to find the Cache Management option in MagentoV2
  3. After you arrive at the Cache Management screen. There will be an option in the upper right corner to Flush Magento Cache. You will click that and it will clear the Magento cache for you.
    Where to find the Flush Cache option in magentoV2


If you should have any questions or would like assistance, do feel free to contact us through Live Chat, on our Phones, or by submitting a ticket with our Technical Support team.


Leave a Reply