Yoav Weiss

@Yoav
1.2K Followers
291 Following
565 Posts
On a mission to make the web faster, one perf feature at a time. WebPerfWG and WICG co-chair. Blink API owner. RICG4life. Opinions are my own, etc.
@matt thanks! I didn't release the demo's code... I can try to do that in the new year

Web Performance Calendar day 13 with Yoav Weiss (@yoav) showing us a clever and creative way to ship *only* critical/necessary CSS for each page type (home, search, etc) while also avoiding duplicate code in the CSS bundles.

https://calendar.perfplanet.com/2025/how-to-load-css-fast/

How to load CSS (fast)

Loading styles on the web is something that looks trivial at first. You just add a <link rel=stylesheet> to your page (or <style> for inline styles) and you're done. But if you wanted to load CSS fast, all of the sudden you run into trouble... Assuming you have a traditional web app (o

Web Performance Calendar
If you want to get into web platform development and push features into browsers, I wrote a few words that I hope can be useful: https://blog.yoav.ws/posts/so_you_want_to_push_a_web_platform_feature/
So, you want to push a web platform feature?

A guide for pushing new features into standards and browser engines

Delete-Cookie header?? from Yoav Weiss on 2024-10-31 ([email protected] from October to December 2024)

I'm excited that we're finally getting a customisable <select> on the web. However, there's one detail of it I'm really not sure about, and I'd like to hear your thoughts.

Have your say before it's too late 😀

https://jakearchibald.com/2024/how-should-selectedoption-work/

How should <​selectedoption​> work?

It's part of the new customisable `<​select​>`, but there are some tricky details.

@[email protected] it's feasible, but would require a bunch of work and a different loading scheme - an opt in would tell browsers to load the images head first (to get byte ranges of the different resolutions) and only then load the required rest
@[email protected] https://blog.yoav.ws/posts/responsive_image_container/ from almost 11 years ago is still relevant, and I don't think JXL is it..
Responsive Image Container

@[email protected] I hear you on the authoring woes (and apologies for failing to make it better), but nothing about jxl enables the "stop when you have enough" bit
@[email protected] how does jxl do that?
@meduz I'd love to better understand scenarios you're seeing for more than a single original language (other than content aggregators, I guess), or when would users prefer a translation over the original if they can read it