use cache in multi-mode