Earlier quoted context omitted.
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…
Thanks for your reply :) I recognize often articles are meant for a specialized audience and shared here without the author even being aware of the site, so it's unreasonable to expect that everything be described to a total neophyte, but sometimes I have to laugh at the buzzword articles that get posted here about how to implement foo in bar on baz, using a fizzbuzz framework running blarg, and I have no idea what A…
Private client-side-only PWAs are hard, but now Apple made them impossible
371–380 of 927 posts
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#372It 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.
It is not fine if you're creating apps that don't have a backend.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#373This doesn't "destroy" the PWA ecosystem. Just makes a user's intention explicit when they save a PWA to their home screen, rather than continuing to use it within the browser.
From the WebKit Blog (https://webkit.org/blog/10218/full-third-party-cookie-blocki...) "Web applications added to the home screen are not part of Safari and thus have their own counter of days of use."
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#374LocalStorage is not a substitute for an actual database, it’s a cache. The problem with the author’s technique is that privacy minded users clear their browsers from time to time, so they would be inadvertently clearing data they actually wanted to keep because who uses LocalStorage as a persistent data store? Sure it could be used like that as an “off label” use, but generally it’s used to cache what is persistently stored elsewhere or used as a means to avoid multiple network calls in the process of doing something (such as saving calculations, the results of which would be eventually persisted.) Local Storage should be used as if it were a session store rather than something persistent.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#375Sounds 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
Even web apps that you add to your home screen are subjected to this.
From WebKit: [1] https://webkit.org/blog/10218/full-third-party-cookie-blocki...
A Note On Web Applications Added to the Home Screen
As mentioned, the seven-day cap on script-writable storage is gated on after seven days of Safari use without user interaction on the site.” That is the case in Safari. Web applications added to the home screen are not part of Safari and thus have their own counter of days of use. Their days of use will match actual use of the web application which resets the timer. We do not expect the first-party in such a web application to have its website data deleted.
If your web application does experience website data deletion, please let us know since we would consider it a serious bug. It is not the intention of Intelligent Tracking Prevention to delete website data for first parties in web applications.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#376Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#377Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#378It 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
#379Sorry, but no way.
Re: Private client-side-only PWAs are hard, but now Apple made them impossible
#380Is 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.
Yes [1].
[1] https://clearcode.cc/blog/alternatives-to-cookie-tracking/