Skip to content

vigneshshanmugam/sw-resource-priority

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Resource Scheduling with Service Worker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published