-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation Performance #248
Comments
*edit: As far as I can see, the application is already able to handle that like I was thinking about. I also patched the api via nuxt plugin to make it work for me now:
|
@MichaelNussbaumerGOWEST sometimes you may to want to have different navigation and initialData for specific pages, for example for customer page, catalog page etc. |
@mercs600 Exactly, I have a page with around 36k pages, so it has a huge impact on initial load on a lot of pages even though I have the same navigation everywhere. But you are right, there might be different navigations in other cases, but in my case it is a huge disadvantage. So might be worth to have this behaviour configurable? |
I have a pretty huge site, where I have some performance issues with the call for initialData. I reduced the "level" of the typoscript default from headless, which improves that a lot already. But the question which come up, why we not use just the home page for that and determine if the page is active in another way? Like updating the store for navigation on route change.
Explaination: I have a site with overall around 30-40.000 pages, and every page has its own call for navigation. If we could concentrate that to one call the caching would be way more effective. The downside is, that we need to evaluate the active page in the frontend. But I think we would more benefit in larger applications when there is one api endpoint for the navigation per page. (I have 50 pages)
So basically the possibility to hit a non cached navigation link is pretty high.
The text was updated successfully, but these errors were encountered: