Separated cache into cache and cache_multi.