code: static <I extends Request, O extends Response>
      Router<CompositeServiceEntry<I, O>> wrapCompositeServiceRouter(
              Router<CompositeServiceEntry<I, O>> delegate) {
  
          final Cache<PathMappingContext, CompositeServiceEntry<I, O>> cache =
                  Flags.compositeServiceCacheSpec().map(RouteCache::<CompositeServiceEntry<I, O>>buildCache)
                       .orElse(null);
          if (cache == null) {
              return delegate;
          }
  
          return new CachingRouter<>(delegate, cache, CompositeServiceEntry::pathMapping);
      }
docs: Returns a {@link Router} which is wrapped with a {@link Cache} layer in order to improve the
  performance of the {@link CompositeServiceEntry} search.