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.

Magento-logo

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://your-website-url.com/magento-cleanup.php. 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:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , ,