PodRocket

Modern CSS tricks for massive performance gains with Michael Hladky


Listen Later

Michael Hladky joins the pod to explain how CSS performance improvements like content-visibility, CSS containment, contain layout, and contain paint can dramatically outperform JavaScript virtual scrolling. The conversation explores virtual scrolling, large DOM performance, and how layout and paint work inside the browser rendering pipeline, including recalculate styles and their impact on INP Interaction to Next Paint. Michael shares real-world examples of frontend performance optimization, discusses cross-browser CSS support including Safari content-visibility, and explains why web performance issues tied to rendering are often misunderstood and overlooked.

Links

LinkedIn: https://www.linkedin.com/in/michael-hladky-519340148/

GitHub: https://github.com/BioPhoton
X: https://x.com/Michael_Hladky

Resources

Conference link: https://push-based.io/event/perfnow-2025-michael-hladky-zero-js-virtual-scrolling-css

Conference resource: https://github.com/push-based/css-contain-and-content-visibility-research

We want to hear from you!

How did you find us? Did you see us on Twitter? In a newsletter? Or maybe we were recommended by a friend?

Fill out our listener survey! https://t.co/oKVAEXipxu

Let us know by sending an email to our producer, Elizabeth, at [email protected], or tweet at us at PodRocketPod.

Check out our newsletter! https://blog.logrocket.com/the-replay-newsletter/

Follow us. Get free stickers.

Follow us on Apple Podcasts, fill out this form, and we’ll send you free PodRocket stickers!

What does LogRocket do?

LogRocket provides AI-first session replay and analytics that surfaces the UX and technical issues impacting user experiences. Start understanding where your users are struggling by trying it for free at LogRocket.com. Try LogRocket for free today.

Chapters

00:00 Introduction to CSS Performance and Virtual Scrolling

01:20 Why Interaction to Next Paint (INP) Changed Everything
03:00 The Real Cost of Layout and Paint
05:10 Why Large DOMs Break Performance
06:45 How CSS Containment Works
08:30 Contain Layout vs Contain Paint Explained
10:40 When Containment Breaks Your UI
12:20 Introducing Content Visibility
14:10 CSS Content Visibility vs JavaScript Virtual Scrolling
16:40 Why CSS Skips Recalculate Styles Entirely
18:50 Real Performance Gains on Desktop and Mobile
20:40 Cross-Browser Support Including Safari
22:10 Common Pitfalls and Flickering Issues
24:10 How to Measure Layout and Paint Performance
26:10 Why Frameworks Should Use This by Default
28:00 Design Systems and Low-Hanging Performance Wins
30:10 The Biggest CSS Performance Misconception
32:00 Final Takeaways on Frontend Performance

...more
View all episodesView all episodes
Download on the App Store

PodRocketBy LogRocket

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

59 ratings


More shows like PodRocket

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

289 Listeners

Accidental Tech Podcast by Marco Arment, Casey Liss, John Siracusa

Accidental Tech Podcast

2,142 Listeners

ShopTalk by Chris Coyier & Dave Rupert

ShopTalk

501 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

581 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

62 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

988 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,119 Listeners

Tech Brew Ride Home by Morning Brew

Tech Brew Ride Home

973 Listeners

Practical AI by Practical AI LLC

Practical AI

206 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

517 Listeners

Hard Fork by The New York Times

Hard Fork

5,538 Listeners

Whiskey Web and Whatnot by Skill Issue Studios

Whiskey Web and Whatnot

55 Listeners

devtools.fm: Developer Tools, Open Source, Software Development by Andrew Lisowski, Justin Bennett

devtools.fm: Developer Tools, Open Source, Software Development

25 Listeners

Front-End Fire by TJ VanToll, Paige Niedringhaus, Jack Herrington

Front-End Fire

11 Listeners