/* config.plugin('preload') */
new PreloadPlugin(
{
rel: 'preload',
include: 'initial',
fileBlacklist: [
/\.map$/,
/hot-update\.js$/
]
}
),
/* config.plugin('prefetch') */
new PreloadPlugin(
{
rel: 'prefetch',
include: 'asyncChunks'
}
)
These settings start download prefetch async chunks when preload chunk-venders is still downloading.I think this can damage the first screen performance.Is there any way to prefetch resource after page loaded?