Headers | link: rel=modulepreload support/capability
patriciatrauman opened this issue · 1 comments
So far, all link are set as rel=preload
.
It could be useful to choose if we want preload
or modulepreload
.
So the browser wouldn't load twice a module file and avoid this kind of warning
To do so, we could add an optional argument to push-manifest.json.
This could be implemented in https://github.com/Polymer/prpl-server/blob/master/src/push.ts
Here is a possible implementation :
@aomarks
What do you think ? Does it make sense ?
references :
https://developers.google.com/web/updates/2017/12/modulepreload
https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/modulepreload
Thank you for the feature request. Closing because we are no longer accepting new feature requests for prpl-server.
See https://github.com/Polymer/prpl-server#prpl-server for our recently added maintenance mode notice, and recommendations for alternatives.