Description
There are two changes that are related to the FindRootResourceHandler and the ResourceRegistry.
First, getMatchingRootResources() matches against many root resources. When continued search policy is not used however, it should be able to return the first match immediately. Slight method addition to add that.
Second, the "matching" root resources results can be cached based on the URI.
I'll attach a patch.