How DNS Lookups Affect Website Performance

Resolving a domain name into an IP address is probably not a performance bottleneck for your site. To be honest, there are limited performance gains to be had with DNS lookups. That said, I think there are some good reasons to understand DNS better both in general and in terms of performance.

Continue reading

Time To First Byte (TTFB)

Over the years as this site has grown in both content and traffic and as my relative knowledge about developing performant websites hasn’t, I’ve been disappointed in the performance of this site. I have worked to improve the situation from time to time only to let it slide again when I’d move to a new host and as I’ve let my coding practices lag industry best practices.

Continue reading

Performance Testing—Tools And Waterfall Diagrams

Not all performance improvements are equal. If your CSS file loads in 100ms, but your images take 20 seconds to load, it makes more sense to focus on the images before trying to squeeze extra performance out of an already performant CSS file. In order to know where to spend your time to get the most in return for your effort, you need to know how your site is currently performing.

Continue reading

What Are Performance Budgets And Why You Should Use One

One recent trend in web design is the use of a hero image. A hero image is a large background image at the top of the page and it offers a quick overview of what the site is all about. Some suggest that when done well they lead to higher conversion rates. However, a large image adds weight to your page and could reduce site performance. Should you use a hero image?

Continue reading

What Happens When Your Browser Requests a Web Page?

A lot of things happen between the time you request a web page and the time it completely loads in your browser. Each of those things takes anywhere from a few milliseconds to several minutes to complete and reducing the time of any step in the process improves the overall performance of the page.

Continue reading