Pre-generate menu #363
QuarkAgency
started this conversation in
Ideas
Replies: 1 comment
-
What I can propose in that case is cache on Navigation endpoints. We are using standard caching plugins with rules applied to navigation as well. With good results in couple commercial projects :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
When the menu become big, it takes a lot of effort for strapi to always generate the tree and always to provide the same one.
I propose a button to generate the tree (and other type) directly in the admin. It would generate a JSON file like : strapi-endpoint/navigation/1/tree.json.
In my case, Strapi take 2 seconds to provide the tree to my frontend.
Beta Was this translation helpful? Give feedback.
All reactions