Talk:Web performance optimization/Draft
Appearance
![]() | This is not a Wikipedia article: This is a workpage, a collection of material and work in progress that may or may not be incorporated into an article. It should not necessarily be considered factual or authoritative. |
Web performance optimization, WPO, or website optimization is a relatively recent and upcoming field in Web Analytics similar to that of SEO with one major difference in approach: whereas SEO focuses on optimizing content for search engines, WPO emphasizes on optimizing the website’s structure as a whole to decrease loading time and deliver a better end-user experience which can lead to increases in better organic search engine listings and greater user loyalty.
History
Back-End Approach
- How it was done in the good old days.
Front-End Approach
- How it is done now and why it is infinitely better.
- Introduce Steve Souders
- One major point that Steve makes is that at least 80 percent of the time that it takes to download/view a website is controlled by front-end structure. Web developers are strictly responsible for that 80 percent lag, and can decrease it by becoming more aware about how the HyperText Transfer Protocol (HTTP) works.[1]
Best Practices
- List Steve's 14/28 steps
- Minimized HTTP Requests
- Use a Content Delivery Network
- Use an Expires Header
- Gzip Components
- Put Stylesheets at the Top
- Put Scripts at the Bottom
- Avoid CSS Expressions
- Make JavaScript and CSS External
- Reduce DNS Lookups
- Minify JavaScript
- Avoid Redirects
- Remove Duplicate Scripts
- Configure ETags
- Make AJAX Cacheable
- Understanding AJAX Performance
- Creating Responsive Web Applications
- Splitting the Initial Payload
- Loading Scripts Without Blocking
- Coupling Asynchronous Scripts
- Positioning Inline Scripts
- Writing Efficient JavaScript
- Scaling with Comet
- Going Beyond Gzipping
- Optimizing Images
- Sharding Dominant Domains
- Flushing the Document Early
- Using Iframes Sparingly
- Simplifying CSS Selectors
- These practices can enhance the user experience, and make Web apps better[2]
Purpose/Benefits
- Organic way to increase visit retention and loyalty.
- Google said "Monitor your site's performance and optimize load times. Google's goal is to provide users with the most relevant results and a great user experience. Fast sites increase user satisfaction and improve the overall quality of the web (especially for those users with slow Internet connections), and we hope that as webmasters improve their sites, the overall speed of the web will improve." [3]
- Better search ranking according to Google (citation needed)
- Less data traveling across the web
- Better for mobile devices
- More efficient and cost savings
- Disclaimer: Not all websites can implement or even need the above listed points. The author provides them in order of most important to least important in regards to performance increases.
Projects that utilize WPO
- HTML5BoilerPlate.com (https://github.com/h5bp/html5-boilerplate/blob/v4.0.1/doc/htaccess.md)
References
- ^ Souders, Steve (2007). High Performance Websites. Farnham: O'Reilly Media. p. 170. ISBN 0596529309.
- ^ "Best practices for building faster Web apps with HTML5".
- ^ "Webmaster Guidelines". Retrieved 2 December 2012.