Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

flush=all from a function


Reply

206 Views

Avatar
lozhowlett

6 February 2014 at 6:42am Community Member, 146 Posts

Hi guys

I am using

$cache = SS_Cache::factory('foo');
$cache->clean(Zend_Cache::CLEANING_MODE_ALL);

to mimic a ?flush=all, but it's not having the same affect. In fact its not clearing the silverstripe image cache at all.

Any ideas?

Thanks