- January 21, 2021
- 2 minute read
Web performance optimization means equipping your website with whatever gets it to load more speedily. Ideal time is 2 seconds, but many top brands keep losing customers, or customer interest due to bad performance, frequent downtimes, and overall lack of understanding the best practices.
However, many experts in the field have turned web performance optimization into science, or even art - while building tools, analyzing performance data, and sharing valuable insights.
There is a simple rule to web performance - faster website. But 'fast' isn't what 'fast' used to be. 250 millisecond delay can lead your user to a competitor. 1 out of 4 customers expect websites to load in under 4 seconds. Most will abandon (to never visit again) your website in 6-10 seconds. PhoCusWright and Akamai (2010) cite a three second rule - 57% of online shoppers will wait three seconds or less before abandoning the site.
The internet user doesn't wait, and this can result in losing massive revenue, page ranking, conversion rate, page views and downloads.
The average webpage has doubled in size since 2010. The need to standardize performance optimization rules hasn't even appeared until late 90s. According to Web Performance Today results:
Add to this the increased usage of mobile devices, proliferation of video, responsive web design attempts - and suddenly, you have a whole list of routines to re-check to achieve this simple goal of a - faster website.
Steve Souders is considered an establisher of web performance optimization, and the coiner of the term in 2004. He is the Head Performance Engineer at Google where he works on web performance and open source initiatives. His book, High Performance Web Sites, was #1 in Amazon's Computer and Internet bestsellers.
The key rules, which are explained in the book, are valued as the original performance rules:
Souders' follow-up book, Even Faster Web Sites, provides performance tips for today's Web 2.0 applications.
The golden performance rule, according to Sauders, is that 80-90% of the end-user response time is spent on the front-end which has the greatest potential for improvement, and needs to get simpler. Souders also claims that the user perception is more relevant than actual unload-to-unload response time.
They basically let you run a test, from multiple locations around the globe, from different browsers and get back diagnosis charts and suggestions for improvements. Most of them are free, but some include advanced options and require extra payment.
The test results help you in narrowing down the list of problems which are causing delays, whether those be too many HTTP requests, slow caching, image formats, hosting service, junk lines in your code, DNS name resolving etc.
Performance optimization is not only essential for your business, that is, not only that your whole revenue depends on it, as well as the customer satisfaction, but less data also needs to travel on the web to keep the network less clogged.
Chris Heilmann, a Mozilla evangelist, builds on the idea for the Smashing Magazine, on burning the excessive code, and making leaner and more future-proof websites. "The Web as it is now is suffering from an obesity problem," Heilmann claims. Reasons for "an obese web" as he perceives them, are:
He suggests a vanilla web diet to slim down the products we build and describes the principles as building on what works, using a mix of technologies, asking questions from environment, load only what's needed and so on. You can read more from the full manifesto.
Finally, we recommend the crash course video on web performance with Ilya Grigorik, a web performance engineer and developer advocate on the Make The Web Fast team at Google.
"I could give you one rule per minute, but it doesn't help if you don't understand the problem," Grigorik explains.