DEV Community

Discussion on: How we improved website performance by 24% with 3 unusual changes

Collapse
 
swissgreg profile image
SwissGreg

I recommend you to check: developer.mozilla.org/en-US/docs/W...

Generally it should worker with the service worker, too.

Preload is mostly useful for resources that are loaded later in the chain.
In our case, the /api/jobs endpoint is called after the JS code is downloaded and processed, so it makes sense to start loading it earlier.