This article focuses on your phpFox website cache, specifically what it is and how to clear it.
phpFox automatically stores a large number of files that contain information that is dumped from your site’s database or even information that has been processed and combined to be called later by the phpFox script. The script stores these files, so that it can save resources and improve your site performance.
However, there are times when you will want to clear your website’s cache. When you are developing your website, installing new addons, creating a new template/theme/style, or when you are need to troubleshoot an issue you are having, you will want to clear your cache regularly. This ensures that you will always be viewing the most recent information while you are making these major changes.
There are two main methods of clearing your site’s cache. The first uses your admincp, and the second uses your FTP or file manager. You should always use the admincp first, and if that does not seem to have worked, then use your FTP or file manager.
Clearing Cache with the phpFox admincp
Log in to your phpFox admincp and select the Tools Menu item.
You will see the Maintenance heading in the left column, and below that Cache Manager. Select the Cache Manager.
You should now see the Cache Manager page. This page tells you how many total files are in your cache, as well as how large your cache is in Mb. You can also see when the last file was cached.
Select Clear All to clear the files in your cache.
Once you have cleared your cache, you should see a page that looks like the following:
This confirms that you have cleared your cache via the admincp.
Clearing Cache with your file manager or FTP
Login to your cPanel file manager or access your site’s files via FTP.
Navigate to the cache folder. This can be found in public_html/ file/cache/ (see the path outlined in red below)
Next, you will delete ALL files with the exception of index.html. Once you have deleted all the files in the cache folder, it should look as follows:
Congratulations, you have now cleared your cache for your phpFox website.