Skip to content

Conversation

@mrjman
Copy link
Collaborator

@mrjman mrjman commented Nov 22, 2025

Very much WIP

Whats this PR do?

  • Adds server worker integration using workbox to cache, preload and serve assets from browser Cache API

@mrjman mrjman marked this pull request as draft November 22, 2025 21:47
@netlify
Copy link

netlify bot commented Nov 22, 2025

Deploy Preview for build-a-b canceled.

Name Link
🔨 Latest commit 32b56d9
🔍 Latest deploy log https://app.netlify.com/projects/build-a-b/deploys/69236c8019188700082ae812

@mrjman mrjman force-pushed the feature/service-worker-poc branch 3 times, most recently from 2384e02 to 07a3684 Compare November 23, 2025 19:18
… to register service worker under correct scope to work within the next web app
…equired for videos to work with service worker cache files
…ader to the root domain for files within public assets game. Using full path the sw.js did not work so this uses a more lenient wildcard which does work and should be fine
…nce the game is built in the prebuild step and building it here as well was causing an issue with the new service worker sw.js file
…udio webm files. update cache strategy to ignore header and url differences and set cache names to consistent convention and add a version that can be changed easily
… for vs, data war, and winner to service worker to store in runtime cache
… with Cache-Control header for service worker js file in netlify.toml configuration
…iles to avoid warnings and fix js variable not found issue in install listener
@mrjman mrjman force-pushed the feature/service-worker-poc branch from 07a3684 to 32b56d9 Compare November 23, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants