Skip to content
Resource Scheduling with Service Worker
JavaScript HTML Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.editorconfig
.eslintrc
.gitignore
README.md
index.html
package.json
server.js
sw.js
watchify

README.md

sw-resource-priority

Trying out Resource Scheduler with Service Worker.

Priority

These are just assumptions - You can change (Lower the better)

css : 1
fonts : 2
js : 3
images: 4

You can force the priority manually through query params like this

    http://www.example.com/a.js?priority=1

Issue

  • Works only after SW install is done - Finding a way to work around

Development

npm run watch
node server.js
You can’t perform that action at this time.