symfony-cmf-docs
symfony-cmf-docs copied to clipboard
explain how to cache menu blocks with ESI
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:
- pass the url to the ESI https://github.com/symfony-cmf/MenuBundle/issues/19#issuecomment-9424170
- do the highlighting with javascript