Grilled Cheese

ExploreLog inSign up

Barry Pollard

@tunetheweb.com

444 Following3k Followers

Web Performance Developer Advocate at Google Chrome helping to make the web go faster! All opinions my own.

PostsRepliesMedia
@tunetheweb.comDec 5, 2026, 9:49 AM

This is a great article! And explains many of the reasons why we’re so excited about what HTML in Canvas brings to the web!!

MManuel Matuzović @matuzo.atDec 5, 2026, 7:08 AM

On day 5, @nmarkoborodova.bsky.social introduces us to a significant addition to the canvas element. #HTMHellAdventCalendar www.htmhell.dev/adventcalend...

htmhell.devHTML-in-Canvas: The “why” behind the viral - HTMHellA collection of bad practices in HTML, copied from real websites.
@sil.kryogenix.orgDec 4, 2026, 4:16 PMReposted by @tunetheweb.com

if you have a need for a freelance technical writer, fractional content operations or strategy lead, or anything else that sounds like the type of work [Rachel does] or [has] done in the past, get in touch [with her].

RRachel Andrew@rachelandrew.co.ukDec 3, 2026, 2:09 PM

An update on Rachel. I'm no longer at Google. rachelandrew.co.uk/archives/202...

rachelandrew.co.ukLeaving Google | Rachel Andrew
?Unknown authorDec 4, 2026, 8:13 PMReposted by @tunetheweb.com

At Mozilla we're prototyping Promises for document.parsed, document.contentLoaded and document.loaded. You can use these instead of the readystatechange event.

Head to `about:config`, toggle `dom.document.load_promises.enabled` to try it out. Also try the polyfill: github.com/keithamus/do...

A screenshot of the Firefox devtools console, it shows 3 statements: the first `document.parsed`, second `document.contentLoaded`, and third `document.loaded`, the inspector returns a Promise object for all three, with a <state> of "fulfilled" and a <value> of `undefined`.
@tunetheweb.comDec 4, 2026, 5:42 PM

No that’s a common misconception. A later stylesheet might override the font-face. Or might not use it at all So the browser waits until ALL blocking CSS is loaded. So inlining font-face only helps if you inline all your other CSS. Preload is the way as it doesn’t care and just loads it!

@tunetheweb.comDec 4, 2026, 3:06 PM

Hey that was me yesterday! Well 1.9MB 😁 But here were more than a few and the perf impact was significant!

@tunetheweb.comDec 4, 2026, 1:19 PM

And their on MDN now!

developer.mozilla.org/en-US/docs/W...

Working on the streaming ones next...

developer.mozilla.orgHTML Sanitizer API - Web APIs | MDNThe HTML Sanitizer API allows developers to take strings of HTML and filter out unwanted elements, attributes, comments, and processing instructions before they are inserted into the DOM or a shadow D...
@tunetheweb.comDec 4, 2026, 12:36 PM

And Jake was right... again! Needed to tweak my settings to something sensible. Thanks Jake!

?Unknown authorDec 3, 2026, 9:39 PMReposted by @tunetheweb.com

Do you feel a sudden need to know more about post-quantum crypto? Chrome supports quantum-resistant cryptographic algorithms via WebCrypto, and I published two guides in Modern Web Guidance covering them (with feature detection and fallbacks):

@tunetheweb.comDec 4, 2026, 10:55 AM

Tried it on that project I'm working on. Quality is fine, but savings are only meh. PNG->WebP order of savings rather than JPEG->AVIF for some, little savings at all for others. So a little underwhelmed. But maybe due to the tooling I'm using as I said. Plus not looking to manually tune each image.

?Unknown authorDec 4, 2026, 9:11 AMReposted by @tunetheweb.com

I'm hosting an Agentic Engineering Masterclass in January 2027 🚀

Not a vibe coding masterclass. The focus is on steering AI with quality in mind, and you decide how much you want to delegate to it.

jadjoubran.io/agentic-engi...

Tip: many companies cover this from their learning budget.

jadjoubran.ioAgentic Engineering Masterclass | Jad JoubranLearn to work effectively with AI coding agents and ship better software.
@stoyan.meDec 3, 2026, 9:00 PMReposted by @tunetheweb.com

Web Performance Advent Calendar, day 3 with @tammyeverts.com. Do you need an important question to ponder by the fireplace this season? Tammy's got 11 of them.

calendar.perfplanet.com/2026/the-fut...

calendar.perfplanet.comThe future of web performance: 11 questions in search of answersAt performance.now() last month, I said: “Every interesting, helpful, and important web performance development of the past sixteen years was driven by curious human beings who asked good questions.” ...
@tunetheweb.comDec 4, 2026, 7:55 AM

And I find local() can lead to unexpected problems if the local version of a font is different to the one you actually want. But it’s good for the likes of Roboto on Android. For others I’m less convinced unless very generic fonts (in which case you’re back to avoiding web fonts basically).

@tunetheweb.comDec 4, 2026, 7:55 AM

Yeah it concentrates mostly on optimising web-fonts rather avoiding them so only has a small section on that (that could be a whole article in itself!). Maybe the title could be clearer in that regard. Will consider updating.

@tunetheweb.comDec 4, 2026, 6:48 AM

1 - agree, to disagree 2 - meh. Doesn’t really do anything if other CSS is still used on site as all CSS is needed to see if fonts are needed. 3 - Yes! 💯 4 - i had high hopes but turned out to be more effort than worth IMHO and if you can that close I don’t see why you need the font.

@tunetheweb.comDec 4, 2026, 6:44 AM

@jakearchibald.com (as always!) has good write ups.

This one’s quite old, but still useful when comparing old formats IMHO:

jakearchibald.com/2020/avif-ha...

This is more recent and concentrates on AVIF versus JXL:

jakearchibald.com/2026/jpeg-xl...

jakearchibald.comAVIF has landedAVIF is the first browser image format we've had in 10 years. Let's see how it performs…
@tunetheweb.comDec 4, 2026, 6:44 AM

AVIF was a gamechanger for photos IMHO—you see significant gains in an order of magnitude. JXL? Little (if any) gain in top of that as it came after. But they are both still evolving. I’ve not had time to play for non-photos and again tooling has to catch up. Which is difficult when still evolving.

@tunetheweb.comDec 4, 2026, 6:44 AM

I still tend to reach for PNG for screenshots and similar sharp images/diagrams typical of SVGs. WebP is slightly better but wasn’t that much better than a well-optimised PNG and tooling was always better for PNG so they’re just easier to work with.

@tunetheweb.comDec 4, 2026, 12:54 AM

But SVG is GREAT for simpler graphics and often MUCH smaller on top of being scalable. But over a 50-100 KB for a single SVG image ain’t great for web pages IMHO. And if you have a lot of those on a page then that adds up to noticeable perf impact!

@tunetheweb.comDec 4, 2026, 12:54 AM

I should write something up. But basically if your SVG is BIGGER than an equivalent PNG for the same display size then SVG is likely the wrong format for a web site. Complex gradients and busy visuals don’t translate to vector graphics well and are what other formats have been created for.

@tunetheweb.comDec 4, 2026, 12:48 AM

In my experience it’s not that rare. Or I wouldn’t be ranting about it. Devs use swap as an excuse not to optimise the font IMHO. So I’d rather deliver good UX to the majority of people and have the rare few wait the extra 3 secs for the timeout, as they probably have other loading issues anyway.

Older posts
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-12-03 22:42:33 EST