How is this Website so fast!?

Channel:Wes Bos · Length:13:39 · Published:2024-10-18 · Views:2414300

Watch on YouTube

Summary

Wes Bos breaks down the techniques behind the McMaster-Carr website's speed: server-rendered HTML, prefetching, CDN and service worker caching, preloading, critical CSS and fixed-size images. He also notes its old-school jQuery and YUI JavaScript.

Why HN recommends it

HN points to it as the clearest frontend explanation of why McMaster-Carr feels so snappy, often contrasted with slow modern UIs.

Here is Wes Bos taking a deeper dive into the intricacies of technologies used to accomplish this — HN, 2025

Web development · Software performance & optimization

Subtitles (excerpt)

how is this website which is 100 years old it's not 100 years old but 100y old company how is they have the fastest website on the internet that's a tweet from Kenneth Castle last night um and I did a quick look into like why does this website feel so fast but I thought let's make a quick video in detailing why it is because from a high level it looks like a old website and you oh good old HTML is nice and fast but that's not the case is I believe that the engineers behind McMaster car's website are doing everything possible to make this website as fast as they possibly can and they are using all of the tricks in the book so let's dig into how I figure that out as well as like explaining how a lot of these things work so first of all they are server rendering all of their HTML right it's not using any JavaScript framework or anything like that um it simply the server returns HTML and the browser is very good at rendering out HTML now the they are also prefetching HTML so watch when I clear this out and I hover over some of these links here you'll notice that my network is going crazy and if you click on one of those you'll see that it is returning some HTML so what's happening is when you hover over top of a link they

On Hacker News

As an interesting example of the opposite UI experience, this video goes into why the McMaster-Carr website is so incredibly snappy to use: [VIDEO] . It's different from GitHub in many ways (no user-generated content, day-by-day mostly static pages), but it's interesting to see how good a browsing experience can be. It makes sense given that their value as a company depends so much on making it q… — 0xTJ, 2025-08
I am SO glad jofzar posted this - I remember this website but couldn't recall the company name. Here's a good video on how the site is so fast, from a frontend perspective: [VIDEO] — _nivlac_, 2025-07
The low lag part is especially impressive. Here is Wes Bos taking a deeper dive into the intricacies of technologies used to accomplish this: [VIDEO] — CleanCoder, 2025-05
To save you a click: apparently [LINK] is very fast. A person who worked there chimes in [LINK] saying they focused on speed (competing with paper catalogue), used VB.net and SQL Server with stored procs. Some other guy explains [LINK] : · Agressive pre-loading pages on hover · fixed image dimensions - there is no layout shift when they load · Dependency Injection (huh?) - only loading the JS nee… — yread, 2024-10
There is (was?) an absolutely fabulous answer on quora.com which detailed how this site came to be --- from memory: - initial ecommerce site was a mess (basically a page-by-page recreation of the catalog?) which saw minimal usage - the redesign, which focused on usability --- notably reduced cognitive load --- resulted in an immediate uptick in orders which grew markedly for a long while until it… — WillAdams, 2025-05

Related videos