Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

explain how to cache menu blocks with ESI #312

Open
lsmith77 opened this issue Oct 29, 2013 · 1 comment
Open

explain how to cache menu blocks with ESI #312

lsmith77 opened this issue Oct 29, 2013 · 1 comment

Comments

@lsmith77
Copy link
Member

especially due to the performance issues with MenuBundle it would be good to explain how to efficiently cache menu inside an ESI block.

for now there are two strategies to still be able to handle highlighting the selected menu entry:

  1. pass the url to the ESI prevent KnpMenu from loading the entire menu/route/content tree menu-bundle#19 (comment)
  2. do the highlighting with javascript
@lsmith77 lsmith77 added this to the 1.1 milestone Apr 28, 2014
@lsmith77
Copy link
Member Author

we have reduced the performance issues but would still be good to explain this.

@lsmith77 lsmith77 removed this from the 1.1 milestone May 13, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant