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

perf: suspend QuickOverview and Monaco types loading #1526

Merged
merged 2 commits into from Apr 13, 2024

Conversation

KermanX
Copy link
Member

@KermanX KermanX commented Apr 13, 2024

The QuickOverview will mount all the slides, which would block the loading of the active slide.

The Monaco types will cause tons of requests, which also blocks the loading of the active slide.

Suspending these can shorten the first loading time of the active slide significantly (up to 5s on my machine)

Copy link

netlify bot commented Apr 13, 2024

Deploy Preview for slidev ready!

Name Link
🔨 Latest commit 3666f3f
🔍 Latest deploy log https://app.netlify.com/sites/slidev/deploys/661a29c4a04a1a0009ee987c
😎 Deploy Preview https://deploy-preview-1526--slidev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@KermanX KermanX mentioned this pull request Apr 13, 2024
@antfu antfu merged commit 76b59bb into slidevjs:main Apr 13, 2024
24 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants