-
Notifications
You must be signed in to change notification settings - Fork 922
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
[Feature request] Improve shouldPrefetch default value #953
Comments
This issue is marked as |
This issue is marked as |
This issue is marked as |
Clear and concise description of the problem
Currenly the
shouldPrefetch: true
default behavior have serious preformance impact on large sites with FCP time.For a large site with around 1500 pages, shouldPrefetch link can take up to 30-50KB in each html entry.
Suggested solution
As @meteorlxy suggests earlier, we can change the default behavior to only prefetch assets which can be visited through the page.
Or more detailed:
shouldPretch
But this requires improvments mentioned in #952
Alternative
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: