path_resolve , per-type caches