Jacob 'kurtextrem' Groß

48 Followers
283 Following
14 Posts
Sr. Performance Engineer @Framer · webperf/UX/security
Homepagehttps://kurtextrem.de
Giving V8 a Heads-Up: Faster JavaScript Startup with Explicit Compile Hints · V8

Explicit compile hints control which JavaScript files and functions are parsed and compiled eagerly

Chrome 136+ ships a new V8 version that supports a "compile hint", which makes V8 parse and compile all functions in that file eagerly.

Great for entry points – where you know all functions will very likely be used. Less so as 'one weird trick to make all your JS faster'.

🎉 Framer can now simulate DOM sizes and positions on the server, without the real DOM.

This lets us automatically do optimizations that rely on element sizes – like loading=lazy, image preloading*, and content-visibility*.

AFAIK no other site platform supports this today.

(* = soon)

Last week in Framer performance: we shipped AVIF support! Now, all images are served as AVIF, making them 20+% smaller.

AVIF takes ages to encode, tho, so we came up with a clever trick. 🧵

Responsive & performant images are complicated. My first #webperf article really goes in-depth on `<img srcset>` and provides a unique alternative to `<picture>` 📸
If you've learned something new, I'm happy about boost's & your feedback :)

https://kurtextrem.de/posts/modern-way-of-img/

The modern way of serving images

Technical in-depth guide for the <picture> & <img> srcset and sizes attributes to create responsive & performant images.