News for hackers. Stuff that matters.
Re:AMA: Ivan Kutskir, creator of Photopea by tgsovlerkhgsel on Sunday April 11, 2021 @07:57AM (#26769666)
Maybe a Progressive Web App could work? If I remember correctly, it requires basically just adding a cache manifest.

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.

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 ;)

Re:AMA: Ivan Kutskir, creator of Photopea by bckr on Sunday April 11, 2021 @01:41PM (#26772025)
He says in one of his Reddit comments that he does not (and probably will not) use frameworks. It's pure HTML/CSS/JS.
Re:AMA: Ivan Kutskir, creator of Photopea by jannes on Sunday April 11, 2021 @08:25AM (#26769844)
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.

Re:AMA: Ivan Kutskir, creator of Photopea by FpUser on Sunday April 11, 2021 @10:08AM (#26770468)
Why bother. He already has very nice product and makes very nice money.