Oddbean new post about | logout
 I should start detecting my web apps from their domains. Once installed as PWAs, all components should be available offline like a native app. Updates should be optional. Domains are shitcoins. 
 So, if you go with a cache-first strategy in your service worker, it'll grab stuff from the cache first, without bothering to check the domain or the internet.  
 Am I missing something 🤔 
 Yes, I was reading about it. It turns out that in the short to medium term, it is possible. However, in the long term, iOS clears all the cache if the user isn't using the app. I think we should look for a different strategy. Do you have any alternative plans? 🤔