Jake Archibald
@jaffathecake
Followers
106K
Following
72K
Media
4K
Statuses
83K
Developer of sorts at @firefox. No thought goes unpublished. He/him. Also jaffathecake on Mastodon, bsky, Threads etc.
Haywards Heath
Joined July 2008
📝 Importing vs fetching JSON JSON imports are now supported cross-browser, but when would you use them rather than fetch()? https://t.co/GVgoxI5ypT
jakearchibald.com
They behave differently, so make sure you pick the right one.
16
48
425
I tried to AI code some in-browser video decoding stuff. It made a mess. So I learned the APIs somewhat properly, and did a much better job, but it was still messy. Then I found https://t.co/UXkxD4ZI1w and it just worked. Yay!
mediabunny.dev
A JavaScript library for reading, writing, and converting media files. Directly in the browser, and faster than anybunny else.
1
8
301
Last week I posted about a secret config in Firefox that made view transitions easier to debug. @SailorPsy said we should make it less secret. So we did.
4
5
139
Because it uses the same JS engine, @bunjavascript has the same issue, so top-level await isn't safe to use there either.
@jaffathecake Doesn't work 😭 https://t.co/RbFsxc9tTC I wanted to use TLA to load translations based on html lang attribute, looks like that will have to be done very carefully.
1
2
37
JavaScript top-level await is no longer considered 'baseline' due to a pretty big Safari bug https://t.co/YydXq4D8Sz The module graph fails in cases where two modules import a third at the same time. Demo: https://t.co/ByzQqEseyu It's best to avoid the feature for now 😔
26
50
423
Here are my encoding settings, including skipping repeat frames
gist.github.com
GitHub Gist: instantly share code, notes, and snippets.
2
0
9
AV1 is crazy-good for encoding screencasts. 1:28 of video, higher-than-HD resolution, less than 2mb. https://t.co/ApjtqqoRgc There's not a lot of movement, but many codecs just don't handle that well.
bugzilla.mozilla.org
NEW (nobody) in Core - Panning and Zooming. Last updated 2025-10-30.
3
1
17
A lot of people didn't realise this post contains a link to an article. X's UI is so (intentionally?) bad at this.
📝 Importing vs fetching JSON JSON imports are now supported cross-browser, but when would you use them rather than fetch()? https://t.co/GVgoxI5ypT
7
1
56
For the map, it actually created a map of a driving route between the locations, which is pretty good, but it isn't what I wanted. I tried to correct it, and it got increasingly worse from there. AI-in-browser continues to feel like a novelty, and not practically useful.
4
0
19
Before giving it the whole list of TV shows, I tried with just one. It seemed very reluctant to help, then just flat out refused. Sigh.
3
0
9
A couple of times recently I felt I could benefit from a browser agent. 1️⃣ Here's a list of TV shows & movies. Add them to my Trakt watchlist. 2️⃣ I have a bunch of open tabs to restaurants/pubs. Create a map displaying all. I tried these with ChatGPT Atlas…
5
3
41
New in Firefox nightly (146.0a1 2025-10-19): large lists of unused CSS custom properties are collapsed by default. This not only reduces clutter, it also massively speeds up the rendering of the inspector panel in some cases.
1
4
80
We're currently working on devtools for view transitions in Firefox, but in the meantime, here's a little-known option that helps…
6
6
84
Signals flip the script. React renders where you create state. Signals render where you use state. Same state, but you are pushed into patterns that will lead to better performance by default. One paradigm shift away from memoization hell. 🎯 https://t.co/S6YhGI0UMS
jovidecroock.com
Exploring the paradigm shift from 'render where you create state' to 'render where you use state'.
0
7
62
How progressive image rendering works in browsers today, and how it could work in future. There's a bunch of stuff here that's contrary to popular belief, like "AVIF can't render progressively" (it can) and "JPEG XL does" (it doesn't in Safari). https://t.co/s12E9CTrRe
jakearchibald.com
Exploring progressive image rendering across JPEG, PNG, WebP, AVIF, and JPEG XL.
1
6
70
Full details and demos:
jakearchibald.com
Exploring progressive image rendering across JPEG, PNG, WebP, AVIF, and JPEG XL.
0
1
17
I dug into the state of progressive image rendering and found: ➡️ Safari renders JPEG differently (worse imo) ➡️ Progressive AVIF is possible in Chrome ➡️ Progressive JPEG XL isn't possible in Safari ➡️ JPEG XL decodes worryingly slow ➡️ Progressive doesn't solve responsive imgs
3
11
108
We've already had a great response to this. Thank you everyone who took the time to make a ranking - I know there's a lot of proposals. If you haven't, there's still time! https://t.co/YcpFpOtwKj
As an experiment, we (the Firefox team) wanted to try a new way to get feedback on which Interop proposals matter most. So, here's a web app where you can rank the proposals you care about, giving us data we can use when reviewing which ones to champion. https://t.co/pu2Ovpxd66
2
0
13