Kunstmaan / KunstmaanBundlesCMS

An advanced yet user-friendly content management system, based on the full stack Symfony framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.

Home Page:https://kunstmaancms.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[NodeBundle] Slow performance with 500+ nodes

dannyvw opened this issue · comments

If you have a lot of nodes this decrease site performance because all nodes are loaded in the NodeMenu init method.

Blackfire profile
image

Is it needed to load all nodes?

Which method of the NodeMenu helper do you use? We already did some refactoring to remove unnecessary init calls but it still needs more improvements!

This was the getCurrent/getNodeByInternalName method. But the init method is used in some other methods too so in most cases you always load all nodes. The init method is called once.