VirtualMV/Internet & Web development (2)/Course materials/Building Web Site/Performance tuning
From WikiEducator
Introduction
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 (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/ )
References
virtualMV | Superquick wiki guide | Please give me some feedback |
VirtualMV/Internet & Web development (2)/Course materials/Building Web Site/Performance tuning. (2024). In WikiEducator/VirtualMV wiki. Retrieved November 5, 2024, from http:https://wikieducator.org/VirtualMV/Internet_%26_Web_development_(2)/Course_materials/Building_Web_Site/Performance_tuning (zotero)
|