Skip to main content

Jeremy Wagner

Jeremy Wagner

Jeremy Wagner is a web developer living on the client side. He specializes in web performance, and writes about it when so inclined. He’s also the author of The WebP Manual, a guide on the WebP image format for Smashing Magazine.

Making a Difference with Differential Serving

Wednesday, 17th – 13:00

Much of the JavaScript that powers our apps is transformed from the elegant ES6 you write to a tangled mess of transformed and polyfilled code. Only legacy browsers actually _need_ those transformations, yet it's a safe bet that you're serving that code to modern browsers as well. That means we're sending a lot of extra JavaScript to users that just don't need it!

Now what if I told you—and just hear me out—that your app could send a bundle with less polyfills and transforms while legacy browsers still get the bundle you're already serving them now? This technique is called differential serving. In this live coding talk you'll learn how differential serving can seriously reduce the amount of JavaScript you send to modern browsers—all while preserving the existing experience you have for legacy browsers! Drop into this session to get practical advice on how to modify your toolchain to spit out both modern and legacy babel-fied bundles, and how to serve those bundles the right way to your users.

On the web
https://jeremy.codes/
On Twitter
@malchata