[BUGFIX] Add clearAllCache option for running in BE