fixed clearAll for persistant cache type