Reputation: 304
We have an umbraco install that just recently started taking forever for the home page to load. Like 5+ minutes. I'm a developer but have never really worked with umbraco. How can I go about trying to debug this?
Edit** So I've pinpointed it to this line. Any ideas why it's making the site so slow?
<xsl:variable name="ContentItem" select="umbraco.library:GetXmlNodeById($itemToDisplay)" />
Upvotes: 0
Views: 1122
Reputation: 3487
Unlikely the GetXmlNodeById is so slow. XSLT is outdated,I assume that you also have an old umbraco like 4,5,6
To find the issue use the Debug mode.
In the web.config below <appSettings>
set umbracoDebugMode to true
<add key="umbracoDebugMode" value="true" />
Go to your slow page and add this querystring ?umbDebug=true&umbDebugShowTrace=true
to the URL.
Upvotes: 1