nuxt-community / pwa-module

Zero config PWA solution for Nuxt.js
https://pwa.nuxtjs.org
MIT License
1.25k stars 173 forks source link

Preload webmanifest #382

Open cooldoganytime opened 4 years ago

cooldoganytime commented 4 years ago

The generated link to the webmanifest file in does not include "preload" in the ref tag: Capture

PageSpeed Insights is suggesting that preloading the manifest could provide some performance benefits: image

A preload option could be included in the configuration.

pi0 commented 4 years ago

Hi @cooldoganytime thanks for reporting. I've opened #383 but seems it is not yet supported. I will try to contact with chrome team, finding best solution :)

pi0 commented 4 years ago

Doing more investigations, it seems lighthouse starts warning about preload of manifest when website itself is really slow. (ie it is not reproducible on other nuxt apps using pwa like modules.nuxtjs.org)

Reproduction link: https://peepthis.app/ (lighthouse)