static Router<RouteDecoratingService> wrapRouteDecoratingServiceRouter(
            Router<RouteDecoratingService> delegate, Set<Route> dynamicPredicateRoutes) {
        if (DECORATOR_FIND_CACHE == null) {
            return delegate;
        }

        assert DECORATOR_FIND_ALL_CACHE != null;
        return new CachingRouter<>(delegate,
                                   RouteDecoratingService::route,
                                   DECORATOR_FIND_CACHE,
                                   DECORATOR_FIND_ALL_CACHE,
                                   dynamicPredicateRoutes);
    }
Returns a {@link Router} which is wrapped with a {@link Cache} layer in order to improve the
performance of the {@link RouteDecoratingService} search.
core/src/main/java/com/linecorp/armeria/server/RouteCache.java