Clean up Magento Log & Cache Maintenance Data

Hi folks, today I got a request from one of my last office colleague. The question is “Clean up Magento Log & Cache Maintenance Data” in one of his client websites.

Do you why we need to clean up Magento log and Magento cache maintenance data from our Magento online store. After clean up Magento log & cache data, it will reduce the page loading time.


I have shared a PHP script to clean up log and cache data at one click. Create a magento-cleanup.php file and copy paste below code and upload it to the root directory of your website. After uploaded go to your browser and run the magento-cleanup.php page by using hhtp:// This script will clean up all log & cache data from the site and your website will load faster.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , ,