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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

flush=all from a function


Go to End


502 Views

Avatar
lozhowlett

Community Member, 151 Posts

6 February 2014 at 6:42am

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