symfony-cmf / symfony-cmf-docs

The documentation for the symfony content management framework
http://cmf.symfony.com
44 stars 157 forks source link

explain how to cache menu blocks with ESI #312

Open lsmith77 opened 11 years ago

lsmith77 commented 11 years ago

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 https://github.com/symfony-cmf/MenuBundle/issues/19#issuecomment-9424170 2) do the highlighting with javascript

lsmith77 commented 10 years ago

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