Replies

Tuesday, March 31st, 2020

Replying to a tweet from @trysmudford

Thank you for listening!

Monday, March 30th, 2020

Replying to a tweet from @zeldman

❤️

Replying to a tweet from @briankardell

Thank you very much, Brian—glad you like ’em!

Replying to a tweet from @justingoboom

Might be a good use for the pre element to preserve formatting.

In fact, that very use case is mentioned in the spec:

https://html.spec.whatwg.org/#the-pre-element

Replying to a tweet from @brad_frost

Violent Femmes, Blister In The Sun?

Replying to a tweet from @adactio

Consequently, nobody on iOS—other than devs like you and me—ever adds any websites to their home screens (progressive web apps or otherwise).

Replying to a tweet from @mrgnrdrck

Chrome, Opera and Samsung Internet “promote” progressive web apps and encourage users to add them to their home screen (becuase—thanks to the manifest file—once opened from there, they behave just like native apps). Safari does nothing.

Replying to a tweet from @mrgnrdrck

It wouldn’t. I don’t understand what you’re asking. The issue is with the sites (the vast majority) that aren’t being added to the home screen—they’re the ones being hobbled by this 7 day deletion.

Sunday, March 29th, 2020

Replying to a tweet from @mdenieffe

Oh, nice! I’ll add that site to the links section of The Session:

https://thesession.org/links

Saturday, March 28th, 2020

Replying to a tweet from @mxbck

Enjoy!

Replying to a tweet from @KatieELambert

I’m so sorry, Katie.

Replying to a tweet from @betterThanMin

They’re both asynchronous actions—using cache and using fetch—and the waitUntil ensures that when one of them is done, the other still carries on. It doesn’t mean that one waits until the other is done.

Replying to a tweet from @betterThanMin

The return part still happens first though. The waitUntil ensures that the service worker doesn’t “hang up” while you’re getting the fresh version from the network, but while that’s happening, the user has been served the cached file.

Replying to a tweet from @betterThanMin

Sure. Fire away.

Friday, March 27th, 2020

Replying to a tweet from @csswizardry

You’re just like Tom Cruise in that film!…

Rain Man.

Replying to a tweet from @harrybr

The Raven Tower by Ann Leckie.

Binti by Nnedi Okorafor.

Rosewater by Tade Thompson.

Thursday, March 26th, 2020

Replying to a tweet from @TimoTijhof

Explain to me how a service worker could be abused, given its same-origin policy.

Replying to a tweet from @briankardell

I think when I (or someone else) says the word “enhancement” what you hear is “just an enhancement”—I think that may be at the heart of your Colombo-like feigned confusion.

Replying to a tweet from @briankardell

Brian, there’s a world of difference between something being a useful enhancement you can add to any website, and something that’s so hobbled as to be not worth your time.

Replying to a tweet from @TimoTijhof

That’s only true if the website has been added to the home screen (which is very, very rare). Most websites using service workers (and almost all progressive web apps) are badly affected by this drastic change.