Set up cache store correctly