getVars())) { foreach(ClassInfo::implementorsOf('Flushable') as $class) { $class::flush(); } } return true; } public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response, DataModel $model) { if(array_key_exists('flush', $request->getVars())) { HTTPCacheControl::singleton()->disableCache(true); } return true; } }