-
-
Notifications
You must be signed in to change notification settings - Fork 571
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
Prefetch links on hover by default #1242
Conversation
🦋 Changeset detectedLatest commit: a929139 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @delucis, just a small typo to fix. Aside from that LGTM 🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Living Graciously, Taking Moments
* main: (440 commits) i18n(fr): update `getting-started.mdx` (withastro#1245) [ci] format docs(showcase): add csmos.space (withastro#1269) [ci] format docs: add SiteOne Crawler to showcase (withastro#1264) Fix formatting [ci] format docs(i18n): Add Indonesian translation for site search documentation (withastro#1250) i18n(es): fix typo (withastro#1246) i18n(ja): Update getting-started.mdx (withastro#1252) i18n(es): Update `getting-started.mdx` (withastro#1247) i18n(ko-KR): update `getting-started.mdx` (withastro#1248) Update upgrade instructions to show new `@astrojs/upgrade` (withastro#1241) [ci] format [ci] release (withastro#1240) i18n(ru): Fix typo in `i18n.untranslatedContent` (withastro#1243) Fix timezone-reliance in LastUpdated (withastro#1170) Prefetch links on hover by default (withastro#1242) Add support for Astro v4, drop support for Astro v3 (withastro#1238) Add Matrix social icon (withastro#1203) ...
Description
Enables Astro’s
prefetch.prefetchAll
config option by default for all Starlight users.Users can opt out or customise the prefetching strategy using Astro’s
prefetch
configuration optionsNote: Had to bump our size limit JS budget by 1 kB as this does add roughly 1kB to our JS bundle. I think it should be worth it for the snappier navigation and people will be able to opt out if they need.