Re:AMA: Ivan Kutskir, creator of Photopea
by 411111111111111 on Sunday April 11, 2021 @08:12AM
(#26769755)
there are even some frameworks that make it extra easy, like angular for example (just `ng add @angular/pwa` and you're basically done).
while it is pretty easy and doable in maybe 1-2 days, depending on how fluent you are with these kinds of things... it's not entirely in the authors best interest. if people start using it `offline`, he wont be able to get advertisement revenue after all ;)
He says in one of his Reddit comments that he does not (and probably will not) use frameworks. It's pure HTML/CSS/JS.
Careful! You can get users stuck on an old version if you configure it incorrectly
Re:AMA: Ivan Kutskir, creator of Photopea
by tgsovlerkhgsel on Sunday April 11, 2021 @08:31AM
(#26769884)
Doesn't deleting the manifest solve that? I thought serving a 404 for it makes browsers delete their cache exactly to provide a way out of this trap.
But yes, this is why I suggested testing with a separate subdomain.
Initial setup can be finnicky (test it on a separate subdomain!) but it shouldn't require much more than a correctly configured cache manifest and a few lines of code to handle updates.