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

feat: parse docs in 2 steps to avoid user waiting with no content #7056

Closed
wants to merge 7 commits into from

Conversation

elevatebart
Copy link
Contributor

The Nuxt content parser of Nuxt CONtent 2 is really slow on big pages.
It sometimes hang for 5 seconds with content there to display any values.

I initially thought it was a bug and was worried.

Here I only take the first 50 lines of content and render it before rendering the rest in the background.

It allows for a better experience overall.

@elevatebart
Copy link
Contributor Author

repeated in #7149

@elevatebart elevatebart closed this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants