Skip to content
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

Why is /api/global fetched on every page? #104

Open
Woozl opened this issue Apr 23, 2024 · 0 comments
Open

Why is /api/global fetched on every page? #104

Woozl opened this issue Apr 23, 2024 · 0 comments

Comments

@Woozl
Copy link
Member

Woozl commented Apr 23, 2024

Full route: /api/global?populate[metaData][populate]=*&populate[navBar][populate]=*&populate[favicon][populate]=*

It's probably fine, but it seems like a lot of unnecessary calls, it's called ~1600 times for the build process, when it seems to be the same data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant