So, in our website we are using sitemap
. For each request we present some menus and to do this, we do this in the SiteMap.RootNode
Supporting Function.
Now, when I dotTrace have completed the outline of your website, I noticed that the get_RootNode ()
is taking too long (approximately 70 to 75 milliseconds), but we know that sitemap
is stable, I am thinking that somehow I SiteMap.RootNode
only once Application_Start < / Code> will receive and will be accessed through each request.
So, my questions are,
Is my attitude correct? How do i Or any effective method that I use SiteMap.RootNode
Thank you
I avoided Sitemap for this reason. They are fine for a few hundred pages but they will start looking down beyond that performance.
I think they mean to have a simple initial type tool for small web sites or some things.
I have your CMS written in principle if you are using a similar CMS / app that data structure in the same way, if you take all the children to present your menu entries Get drawn from DB in a short time No form of ID / similar context based query
If you've told me (as) though can break into small partial maps to your sitemap, then drag them to the menu entries to increase performance.
If your site is less than 500 pages, then I will question coding ... is this a custom sitemap? Is the provider waiting for resources or some things?
Do you drag data using the xmldocument class instead? (Just a thought)
Comments
Post a Comment