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

Flag to disable prefetching dynamic chunks #20

Closed
antfu opened this issue Nov 22, 2021 · 3 comments · Fixed by #30
Closed

Flag to disable prefetching dynamic chunks #20

antfu opened this issue Nov 22, 2021 · 3 comments · Fixed by #30

Comments

@antfu
Copy link
Contributor

antfu commented Nov 22, 2021

@pi0: We need a feature flag to control shouldPrefetch or globally disable prefetch for dynamic chunks. On bigger projects overprefetch has negative perf

Originally posted by @pi0 in #19 (comment)

@danielroe
Copy link
Member

See also nuxt/nuxt#12903

@psycongaroo
Copy link

See also nuxt/nuxt#13233

@kstraszewski
Copy link

kstraszewski commented Apr 13, 2022

What's the state of this task? I'have a problem with prefetching all the assets I've described it here:
https://github.com/nuxt/framework/discussions/4312

Also I've added this lines to my nuxt3 app, and still doesn't work at all:
image

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 a pull request may close this issue.

4 participants