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

explain how to cache menu blocks with ESI #312

Open
@lsmith77

Description

@lsmith77

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions