Hello. Thanks a lot for nice module. I use it in almost all of my projects.
However, in one project, I have about 900 terms inside one vocabulary tree-organized in two parent-child levels.
If I use taxonomy menu to generate these terms as menu items it slows down all pages which diplay menu navigation on my site significantly. It takes about 20 more second for my pages to load with such vocabulary taxonomy menu option enabled then without it.
It also affects all admin pages where Menu setting "Provide menu link" is enabled. Add new article for example when article content type has Menu setting "Provide menu link" enabled. It takes 25 seconds to generate a simple add new article form.
Is it normal? Is 900 Menu items too much to handle with taxonomy menu module?
Data to reproduce: D7.32, Taxonomy menu 7.x-1.5, Vocabulary with 900 terms organized in 2 levels.
Comments
Comment #1
devad commentedComment #2
dstolI would expect poor performance for large taxonomies such as this. What I might do is uncheck the sync options and write a small php script to do this in the background with cron. Also, if you have a patch you're willing to provide, I'll gladly review it.
Comment #3
devad commentedThank you for quick reply dstol.
Drupal patches are not in my knowledge base yet. But even if they are... I have no idea where to start to enhance Taxonomy menu module performance. :)
Can we expect better perfomance with big vocabularies from 2.x version once it become stabile maybe?
Cron suggestion is great idea... however, for now, I have decided to turn off Taxonomy menu on this big vocabulary and to limit menu items to parent terms only (manually created menu items).
Thank you, I suppose you can close this ticket with "wan't fix".