Later in the linked #HTTP203 episode, @jaffathecake talks about <script async> and its benefit over <script deferred> on large pages.
This includes #Wikipedia articles, where we use it since 2015 for faster time until elements are interactive (for late content we use delegate event handlers, #MutationObserver, or DOM ready).
Someone asked recently why we don't use deferred, I explained in more detail at:
https://phabricator.wikimedia.org/T325480#8528502
See also #MediaWiki docs:
https://www.mediawiki.org/wiki/ResourceLoader/Architecture#Front-end
#http203 #wikipedia #mutationobserver #mediawiki
And if you’re looking for more resources on this topic: I’ve collected a few before on my blog in this post:
https://www.bram.us/2022/02/08/color-spaces-and-colors-in-css/
It includes two very good episodes of #HTTP203 with Surma and @jaffathecake covering it. The episodes also touch upon some of the even newer stuff that’s coming with css-color-5 (e.g. relative colors and color-mix())
Are there any good resources about how to render #videos optimized for the #web?
* What container formats and codecs are widely supported?
* What codecs should be preferred?
* Is #VP9 on #WebP better than #H264 in #MP4?
* Do we still need H264 for compatibility?
* Are there other codecs I should consider shipping? #AVIF? #H265? Do we ever need #GIF anymore?
* What tools can optimize these videos to shrink them as much as possible?
* Best practices for accessible videos? It feels weird that `alt` isn't a thing, but are captions supposed to address that?
I feel like I have a good sense of how to do images effectively after watching enough #HTTP203, but I'm less clear on effective video deployments.
#videos #web #vp9 #webp #h264 #mp4 #avif #H265 #GIF #http203
RT @bramus@twitter.com
The past few weeks I’ve been digging deep into how viewports work/behave in several browsers and operating systems.
I joined @jaffathecake@twitter.com in the latest episode of #HTTP203 for a deep dive on the subject.
(Spoiler: It’s complicated)
RT @ChromiumDev@twitter.com
Ever used DOMContentLoaded or some other DOM-ready script? Well, maybe… don't!
@jaffathecake@twitter.com and @cassiecodes@twitter.com explain how they can go wrong, and what to use instead. 🏆
Watch the latest #HTTP203 → https://goo.gle/3J4EMvW
🐦🔗: https://twitter.com/ChromiumDev/status/1551939151641169920
RT @ChromiumDev@twitter.com
Ever used DOMContentLoaded or some other DOM-ready script? Well, maybe… don't!
@jaffathecake@twitter.com and @cassiecodes@twitter.com explain how they can go wrong, and what to use instead. 🏆
Watch the latest #HTTP203 → https://goo.gle/3J4EMvW
🐦🔗: https://twitter.com/ChromiumDev/status/1551939151641169920
We want to record and publish the #HTTP203 podcast more frequently while everyone is practicing social distancing.
Do you have any questions you’d like to ask us (or other folks from the Chrome DevRel team?)
I only have one urinal story left, and it’s not even that good, so…
RT @ChromiumDev@twitter.com: Active, passive, hidden, frozen, discarded. As well as being rejected names for the seven dwarves, they're part of the Page Lifecycle API. @DasSurma@twitter.com and @JaffaTheCake@twitter.com chat about it in the latest #HTTP203.
Watch here → http://bit.ly/2r1TEUS