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 #7149

Open
wants to merge 1 commit into
base: develop
Choose a base branch
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.

Copy link

sonarqubecloud bot commented Feb 3, 2025

@tchiotludo tchiotludo force-pushed the develop branch 2 times, most recently from d2d8668 to 0c3ed3b Compare February 7, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

Successfully merging this pull request may close these issues.

1 participant