This article is on 34 best Practices or rules for Speeding Up Your Web Site.Yahoo!’s Exceptional Performance team evangelizes best practices for improving web performance by conduct ing research, building tools, etc.According to Yahoo!’s Exceptional Performance team, 34 best Practices or rules for Speeding Up Your Web Site are categorized into Content, server, cookie, CSS, Javascript, images and mobile.
content rules:
- Make Fewer HTTP Requests
- Reduce DNS Lookups
- Avoid Redirects
- Make Ajax Cacheable
- Post-load Components
- Preload Components
- Reduce the Number of DOM Elements
- Split Components Across Domains
- Minimize the Number of iframes
- No 404s
server rules:
- Use a Content Delivery Network
- Add an Expires or a Cache-Control Header
- Gzip Components
- Configure ETags
- Flush the Buffer Early
- Use GET for AJAX Requests
cookie rules:
CSS rules:
- Put Stylesheets at the Top
- Avoid CSS Expressions
- Make JavaScript and CSS External
- Minify JavaScript and CSS
- Avoid Filters
Javascript rules:
- Put Scripts at the Bottom
- Make JavaScript and CSS External
- Minify JavaScript and CSS
- Remove Duplicate Scripts
- Minimize DOM Access
- Develop Smart Event Handlers
Images rules:
- Optimize Images
- Optimize CSS Sprites
- Don’t Scale Images in HTML
- Make favicon.ico Small and Cacheable
Mobile rules:
Free download YSlow, firefox add-on and automatically calculate your website performance.
People who read this also viewed these helpful relevant videos
Loading…
View ratings
Rate this article
Rate this article
Article ratings
Current average ratings.
Current average ratings.
[...] uses the components’ HTTP response headers to compute a score for each of the 34 performance rules or best practices for speeding up a website. For example, YSlow uses the Expires header to evaluate Rule 3, and the ETag header for Rule 13. If [...]