How is this Website so fast!?
Channel:Wes Bos · Length:13:39 · Published:2024-10-18 · Views:2414300
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
- YouTube's copyright system isn't broken. The world's is. · Tom Scott · 42:29
- Worst Nuclear Accidents in History · Kurzgesagt – In a Nutshell · 9:12
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- Preventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc) · DevGAMM · 1:02:41
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- The Thirty Million Line Problem · Molly Rocket · 1:48:55
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step” · CppCon · 59:33
- Erlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsApp · Erlang Solutions · 49:15
- JavaScript: The Good Parts · Google TechTalks · 1:03:47
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- "How NOT to Measure Latency" by Gil Tene · Strange Loop Conference · 42:59