kingberrill of Magento
10/26/2016 - 8:28 AM

Flush Cache

Flush Cache

<?php

/*** Author: Steve Berrill ***/
require 'app/Mage.php';

if (!Mage::isInstalled()) {
    echo "Magento is not installed, please complete Magento installation or check this file is in magento root directory.";
    exit;
}


Mage::app()->getCacheInstance()->flush();
echo 'Flushed cache successfully<br>';