I’m a little confused by this and maybe I’m missing something. Wasn’t localStorage always intended to be treated as a volatile storage mechanism for non-critical data and caching? The advice I’ve seen for several years says to avoid storing sensitive or critical data there. Can PWAs not switch to using IndexedDB which seems like it’s more purpose-built for this use case? No snark intended. I’m legitimately curious wh…
> Can PWAs not switch to using IndexedDB which seems like it’s more purpose-built for this use case? IndexedDB is also subject to the 7 day limit. Leaving no persistent storage for web apps at all.
Private client-side-only PWAs are hard, but now Apple made them impossible
361–370 of 927 posts
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#362Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#363Is there any evidence that local storage is being used as a pseudo-cookie way of tracking users? If so, keeping local storage saved while regular cookies are being deleted would defeat the purpose of deleting cookies for anti-tracking reasons.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#364Is there any evidence that local storage is being used as a pseudo-cookie way of tracking users? If so, keeping local storage saved while regular cookies are being deleted would defeat the purpose of deleting cookies for anti-tracking reasons.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#365Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#366> What are private client-side PWAs anyway? (proceeds to not answer the question) Found the answer: Progressive Web Apps[1] 1: https://medium.com/@amberleyjohanna/seriously-though-what-is...
It is a “Progressive Web App”. Sorry for the jargon usage without explanation. Basically it is a marketing term used to place some new web APIs and best practices into an umbrella of a “near native UX on a Web App”. What it usually means is that your application is:
* Served from a secure context (a requirement for the other APIs anyway).
* Has an application manifest (this contains metadata about your web app and is used by browsers and OSs to add icons, names, themes, etc)
* Has a service worker (which enables your application to potentially work offline beyond what other cache solutions did in the past)
So with these in place, browsers can offer a “Install this site and an app” feature which allows the site to open in its own window, with its own icon and name on the launchers and home screens.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#367It doesn't scale from device to device for settings or items that should stay for longer than a week. Local storage should be treated as cache.. it may get refreshed. What Apple did was fine. A backend isn't only for storage either.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#368Sounds like the solution is to add the app to your home screen. I don't think its reasonable for a browser to let any site I ever interact with to store data on my device indefinitely
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#369> What are private client-side PWAs anyway? (proceeds to not answer the question) Found the answer: Progressive Web Apps[1] 1: https://medium.com/@amberleyjohanna/seriously-though-what-is...
Sorry, I wrote this blog post too fast because I was/am a bit angry and didn't notice my usage of jargon without explanation. It is a “Progressive Web App”. Sorry for the jargon usage without explanation. Basically it is a marketing term used to place some new web APIs and best practices into an umbrella of a “near native UX on a Web App”. What it usually means is that your application is: * Served from a secure cont…
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#370Is there any evidence that local storage is being used as a pseudo-cookie way of tracking users? If so, keeping local storage saved while regular cookies are being deleted would defeat the purpose of deleting cookies for anti-tracking reasons.
This is exactly what it is about. I welcome the move from Apple. Web devs can store state server side. They cry because tracking will be harder now.