-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
@grgur Nice work. Looking at the current Helmet branch, here's some quick feedback reading through the source:
It appears routes are being 'preloaded' through script but without using link rel='preload'. Pardon me if you're using it but I couldn't find it. One way to load scripts using preload would be with a pattern like this one. Alternatively, you could use HTML Webpack Plugin to inject preload directives into your pages.
PRPL also recommends precaching routes. The easiest way to get this setup with Webpack would either be using https://www.npmjs.com/package/sw-precache-webpack-plugin in your Webpack config or directly using sw-precache in your npm scripts (e.g after your app is built, just run it against the static directory).
Metadata
Metadata
Assignees
Labels
No labels