symfony-cmf-docs icon indicating copy to clipboard operation
symfony-cmf-docs copied to clipboard

explain how to cache menu blocks with ESI

Open lsmith77 opened this issue 10 years ago • 1 comments

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 avatar Oct 29 '13 08:10 lsmith77