The DevCenter has moved!

The Developer Center has a new home, developer.ektron.com. The site you are currently viewing is available as a read-only archive.
Things to note:
  1. Your username & password is the same on the new site, developer.ektron.com
  2. Going forward, please use the new URL, developer.ektron.com
  3. The old discussion forums and old KB articles are still available as an archive (read-only)
RSS Feed Print Category View
Multiple flexmenus
Ozechris
Posted: Thursday, May 17, 2012 12:24 AM
Joined: 6/28/2010
Posts: 26


Hi

 

Assuming I have the following flexmenu controls on a page

 

- header utility links displaying a separate menu to the main menu

- main site navigation links displaying the first level in the main menu

- breadcrumb links displaying the current page's parent pages in the main menu

- sidebar menu displaying the current page's parent, sibling and child pages in the main menu

- footer utility links displaying a separate menu to the main menu

 

e.g. http://www.aihw.gov.au/publication-detail/?id=6442468376 

 

what would be the most efficient way to generate the output without caching each flexmenu control?

 

Thanks,

Chris

AIHW Web Administrator

 

Version: 8.01 (Build 8.0.1.087) 


eGandalf
Posted: Thursday, May 31, 2012 4:14 PM
Joined: 9/13/2006
Posts: 2950


Really, you only have three items that use the same menu data. The main menu, breadcrumb and sidebar menus. You could, theoretically, store the XML in an object (as a string or whatever you like) and then run separate XSLT tranformations in .NET for each desired output. I'm not sure whether that would net you a great deal of performance enhancement, but if you want to give it a shot, it may work.

     

Why the objection to caching?


Ozechris
Posted: Friday, June 8, 2012 1:59 AM
Joined: 6/28/2010
Posts: 26


> store the XML in an object

 

Thanks for the suggestion.

 

> Why the objection to caching?

 

Our content authors want to be able to see changes they make immediately and we would have to develop a tool for them to selectively expire cached controls or pages.

 


 

Jump to different Forum...