Sam Breed

Product Developer, Investor

Web Performance Blah Blah Blah

what I tell people about web performance in 2024

gotta go real fast
gotta go real fast

Recently an engineer I’m working with hit me up with a broad question about web performance:

I’m trying to see if I can make site loading times faster, do you have any good profiling tools besides the browser?
— Specifically I want to make frontpage as fast as possible
I want to CDN cache the whole page (so I added a vercel header — is that the best way to go about it?)”

This is a very reasonable question. Everything should be as fast as possible, and you’ve got work to do until it is. Web performance has been a recurring theme topic in my career and I have some earned wisdom on the topic.

1. Use tools to measure performance

tldr, know what you’re trying to measure and collect the right data.

2. Cache when possible, but not too much

tldr, cache static requests aggressively, be very careful with dynamic content

3. Find out what’s slow and eliminate bottlenecks

tldr, know your performance floor.

4. Blame the framework, last

tldr, you’re probably slower than the framework

→ Reply

“Blog”