contextual caching of templates with components
问题 I have a page with a menu component. The menu marks the active element with a different CSS class. Now I want to cache each menu item page. The different pages come all from the same module/action, the difference is just the ID (foo/bar?item=1) . The problem is that the menu is only cached one time, but I need a cache version for every menu item. I just tried the cache option "contextual: true", but I think this does not work because the main template (barSuccess) is always the same. Do you