Closed patriciatrauman closed 3 years ago
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.
So far, all link are set as
rel=preload
. It could be useful to choose if we wantpreload
ormodulepreload
. So the browser wouldn't load twice a module file and avoid this kind of warningTo 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