mtmckenna / cat-tap-pwa-example Goto Github PK
View Code? Open in Web Editor NEWPhaser Game Using Workbox to Make a PWA
Phaser Game Using Workbox to Make a PWA
This isn't an issue as such, so feel free to delete this.
I used your article https://www.mtmckenna.com/posts/2019/06/30/create-a-pwa-phaser-game to help me get my PWA working on mobile, as I was struggling to get it to work offline - pulling my hair out, trying different methods, different ways of using workbox, upgrading, downgrading, you name it.
To cut a long story short, I got your Cat Tap example working on my own server with no problem, which helped me to understand through trial and error where I was going wrong.
As mentioned ,my PWA was working perfectly offline on Desktop, but on mobile it just wouldn't work offline - I discovered it's because the max cache "limit" that is reported to be 50MB, is actually more like 10MB - whether this is true of all Apple handsets, I have no idea. If you exceed the limit, a PWA just won't work offline. My solution was to only cache necessary items and to compress the hell out of images and audio.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.