Sunday 12 August 2007 11:08:41 pm - 4 replies
I'm trying to implement an AJAZ hierarchical menu on the left that changes content on the right.
Do to this I made a different layout called 'ajax' which outputs the node without navigation etc.
A) Normal URL for a product:
B) Clicking a link on the left will get you just the section within the DIV on the right. An AJAX request is sent to:
and the div is replaced with the new contents.
The problem is performance: Viewcaching works for A) but not for B). I can't figure out why.
Cache-block on URI is also impractical because the product catalogue is large enough that I can't have it wiped out all the time. And I couldn't get that to work anyway.
Modified on Monday 13 August 2007 4:28:17 pm by Nick Ursa
Monday 13 August 2007 8:29:52 am
If you have view caching enabled the layout/set output should be cached. The layout/set module view simply internally reruns the url without the layout/set/[layoutname] after setting some parameters so the correct pagelayout is used (it's actually pretty cool how it works)
Are you sure the view cache is not being generated? You should be able to tell if you turn on debugging and access http://dentsply.ca/layout/set/ajax/content/view/ajax/552 a number of times and compare the timing table between accesses.
You must be logged in to post messages in this topic!