use resolve_with_cache!