Web performance optimization
Web performance optimization, WPO, or website optimization is the field of knowledge about increasing the speed in which web pages are downloaded and displayed on the user's web browser. Although attempts to improve download and display speeds have existed since the World Wide Web was invented in 1993, the field was not standardized, or given a name, until 2004, when web-performance expert Steve Souders began to describe it as "web performance optimization". With the average internet speed now increasing globally, it's fitting for website administrators and "webmasters" to consider the time it takes for websites to render for the visitor.
Faster website download speeds have been shown to increase visitor retention and loyalty and user satisfaction, especially for users with slow internet connections and those on mobile devices. Web performance also leads to less data travelling across the web, which in turn lowers a website's power consumption and environmental impact. Some aspects which can affect the speed of page load include Browser/Server Cache, Image Optimization and also encryption (for example SSL), which can affect the time it takes for pages to render.
In the first decade or so of the web's existence, web performance improvement was focused mainly on optimizing website code and pushing hardware limitations. According to the 2002 book Web Performance Tuning by Patrick Killelea, some of the early techniques used were to use simple servlets or CGI, increase server memory, and look for packet loss and retransmission. Although these principles now comprise much of the optimized foundation of internet applications, they differ from current optimization theory in that there was much less of an attempt to improve the browser display speed.
Steve Souders coined the term "web performance optimization" in 2004. At that time Souders made several predictions regarding the impact that WPO as an "emerging industry" would bring to the web, such as websites being fast by default, consolidation, web standards for performance, environmental impacts of optimization, and speed as a differentiator.
One major point that Souders made is that at least 80% of the time that it takes to download and view a website is controlled by the front-end structure. This lag time can be decreased through awareness of typical browser behavior, as well as of how HTTP works.
There are a number of guidelines that web developers can adhere to in order to optimize web performance. Some sets of guidelines include:
- Steve Souders, who is considered by many to be the pioneer of the field, mentions 28 steps for optimizing web performance, from greatest gains to smallest, in his two books on the subject, High Performance Websites and Even Faster Websites.
- Yahoo! has a list of 35 best practices divided into 7 categories.
- In 2009 Google launched a developers initiative to provide web developers with tools and best practices for making the web faster. There is a section solely devoted to articles about WPO.
- The site WebPlatform also includes such a list, as does Return On Now.
- KissMetricks blog explains why site speed matters and shares tips on how to increase it.
- Amasty research on server optimization to increase site speed.
- Souders, Steve. "Web Performance Optimization". Retrieved 1 December 2012.
- "Google Adds Site Speed To Search Ranking". Retrieved 4 December 2012.
- Sharon, Bell. "WPO | Preparing for Cyber Monday Traffic". CDNetworks. Retrieved 4 December 2012.
- "Webmaster Guidelines". Retrieved 2 December 2012.
- Souders, Steve. "Web First for Mobile". Retrieved 4 December 2012.
- Bellonch, Albert. "Web performance optimization for everyone". Retrieved 4 December 2012.
- Killelea, Patrick (2002). Web Performance Tuning. Sebastopol: O'Reilly Media. p. 480. ISBN 059600172X.
- Souders, Steve (2007). High Performance Websites. Farnham: O'Reilly Media. p. 170. ISBN 0596529309.
- "Steve Souders Bio". Retrieved 3 December 2012.
- "Yahoo! WPO Tips". Retrieved 3 December 2012.
- "Best practices for building faster Web apps with HTML5".
- "How To Improve Web Page Load Time".
- "Kissmetriks on site speed optimization". Retrieved 1 September 2014.
- "Server optimization and site speed". Retrieved 1 September 2014.