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.
- 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
- To start, you will want to be logged into your cPanel
- Once logged in, you will want to navigate to find the File Manager. This will be within the Files section of your cPanel
- In the cPanel File Manager you will want to navigate to the var/cache/ folder which will be located in your Magento installation folder.
- Once you have found that folder, you will want to delete all the files inside of this folder.
- 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
- The first step is to login to your Magento Dashboard.
- Once logged in, you will want to navigate to the System options, and from the Drop down select Cache Management
- 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.
Magento Version 2
- For Magento Version 2, you will want to start off in the dashboard as well, and be logged in.
- 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.
- 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.