This is a migrated thread and some comments may be shown as answers.

[Solved] Menu using SiteMap performance/scalability

4 Answers 135 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Adam Hubble
Top achievements
Rank 1
Adam Hubble asked on 02 Jun 2009, 03:56 PM
Hi,

I have been looking into the sitemap and I just wondered if I need to worry about any performance issues when using sitemap file inconjunction with radmenu?

Our site has about 4300 pages, so my biggest concern is that the sitemap file would be too large for memory, anybody have any experience of this? 

I assume that radmenu itself should be ok as the site is obviously sub-foldered, so menu will not have to load so many loads for each page load.

Thanks,
Matt 

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 Jun 2009, 04:25 PM
Hi Matt Davis,

RadMenu loads all items supplied by the SiteMap unless the MaxDataBindDepth is set. This would result in 4200 menu items to render which would significantly impact the performance of your site because of the increased output. If you still need to load all items I recommend implementing load on demand without the use of SiteMapDataSource.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Adam Hubble
Top achievements
Rank 1
answered on 03 Jun 2009, 08:36 AM
I see.

How about If each directory has its own sitemap file? Surely radmenu will then only load the nodes for that sitemap?
0
Accepted
Atanas Korchev
Telerik team
answered on 03 Jun 2009, 08:46 AM
Hi Matt Davis,

RadMenu loads what the sitemap provider (via the SitemapDataSource) tells it to. I guess if you have separate sitemap files it will populate only those. You may need to configure the SiteMapDataSource to do so.

Regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Adam Hubble
Top achievements
Rank 1
answered on 03 Jun 2009, 08:48 AM
Ok, you see the database approach is not really workable so I'm going to have a look at putting this in a user control and exposing some properties for setting sitemapprovider.

Thanks for your help Albert.
Tags
Menu
Asked by
Adam Hubble
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Adam Hubble
Top achievements
Rank 1
Share this question
or