VirtualMV/Internet and Web/Performance Tuning/Content
From WikiEducator
Overview
By the end of this page you will be able to: |
Web Performance Best Practices and Rules
Yahoo!’s Exceptional Performance team identified 34 rules that affect web page performance. YSlow’s web page analysis is based on the 23 of these 34 rules that are testable. Click each performance rule below to see the details. (http://yslow.org/ )
- Minimize HTTP Requests
- Use a Content Delivery Network (Duplicates page assets (media) across servers in different geographical locations)
- Avoid empty src or href
- Add an Expires or a Cache-Control 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 and CSS
- Avoid Redirects
- Remove Duplicate Scripts
- Configure ETags
- Make AJAX Cacheable
- Use GET for AJAX Requests
- Reduce the Number of DOM Elements
- No 404s
- Reduce Cookie Size
- Use Cookie-Free Domains for Components
- Avoid Filters
- Do Not Scale Images in HTML
- Make favicon.ico Small and Cacheable
You can test for each by adding the YSlow plug-in to your web browser. (http://yslow.org/ )