Home

Issue: 3165

Change all NUXT scripts loading mode from preload to prefetch

[issue link]

What problem does this feature solve?

I want my page opening much more faster.
Currently all scripts in head section loaded with PREFETCH flag.
This blocks webpage opening until all scripts will be downloaded.
In my case (with vuetify) it about 200Kb gzipped.
But why do I need these JS scripts to see my page?
I need them to get interactive page.
And it can be much latter then viewing page.
Please try to run LightHouse - it will tell the same.
Do not block page opening with java scripts.
nuxt.png

What does the proposed changes look like?

manifest and javascript files in head section without PREFETCH flag
webpage opens faster!

This feature request is available on Nuxt.js community (#c6813)