From 02f8c4a106e9cdc19da38f90f6aba4578e9aca1a Mon Sep 17 00:00:00 2001 From: Shannon Date: Tue, 19 Feb 2019 16:55:57 +1100 Subject: [PATCH] Adds TODO note --- src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs b/src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs index 1e37ae0668..6bfb7ea904 100644 --- a/src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs +++ b/src/Umbraco.Core/Configuration/GlobalSettingsExtensions.cs @@ -128,6 +128,7 @@ namespace Umbraco.Core.Configuration if (routes == null) throw new ArgumentNullException(nameof(routes)); //check if the current request matches a route, if so then it is reserved. + //TODO: This value should be cached! Else this is doing double routing in MVC every request! var route = routes.GetRouteData(httpContext); if (route != null) return true;