thecadams / 301RedirectModule

An improved version of the Sitecore 301 redirect module by Chris Castle, available at http://trac.sitecore.net/301RedirectModule
MIT License
30 stars 67 forks source link

Performance issue with RedirectProcessor.GetRedirects method #72

Open sadunaresh opened 2 years ago

sadunaresh commented 2 years ago

there are some 600+ redirect definitions created in Sitecore, it seems to fetch those redirects multiple times in pipeline processor, from our Dynatrace noticed that nearly 1sec is spent towards calling below method during request execution

https://github.com/thecadams/301RedirectModule/blob/a32905f20530056e6c07d3f6e31b1fb600ce7d79/source/Processors/RedirectProcessor.cs#L185

is there a way we can optimize this?