Clean up Magento Log & Cache Maintenance Data

| Last Updated: | In: Magento Tutorial


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.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.


You may also like:


, , ,