/sanzo

Sanzo is a demo for customized resource retrieval based on Service Worker API.

Primary LanguageTypeScript

Sanzo

Sanzo is a demo for customized resource retrieval based on Service Worker API.

Try it online

Details

This demo includes

  1. Hijack resource (<img> / <video> / <audio>) requests with Service Worker API
  2. Find target servers by call some resolve API
  3. Check net connection of target servers and choose the best one
  4. Retrieve resource content from the chosen target server
  5. Use the result from the chosen target server

Others