Fix: check if cache_config is what we expect