Last active
January 8, 2016 16:53
-
-
Save dleone81/b5ae7d52c0256e724a12 to your computer and use it in GitHub Desktop.
Clean Magento cache via PHP file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** Use this file to flush your cache via cron job | |
is useful to invalidate varnish cache | |
Magento 1.8.1 | |
**/ | |
require_once('app/Mage.php'); | |
Mage::app()->getCacheInstance()->flush(); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment