Convert viewproviders/schemas.ts::getSchemas() to first look in ResourceManager cache, and only upon cache miss, then fall back to hitting sidecar API and then cache results.
Moreover, to further optimize when being called in bulk from preloadEnvironmentResources(), give it an optional additional parameter of the sidecar reference, so that callpoint can get a sidecar handle just once, passing it in. Likewise getEnvironments().
Convert viewproviders/schemas.ts::getSchemas() to first look in ResourceManager cache, and only upon cache miss, then fall back to hitting sidecar API and then cache results.
Moreover, to further optimize when being called in bulk from preloadEnvironmentResources(), give it an optional additional parameter of the sidecar reference, so that callpoint can get a sidecar handle just once, passing it in. Likewise getEnvironments().