How To Improve Your YSlow Score
Aptimize WAX immediately improves your YSlow compliance by automatically optimizing pages with performance best practices.
Typically, WAX will increase the YSlow score by 20+ and at least two grades.
WAX helps compliance with the following YSlow guidelines:
Guideline |
How WAX helps |
|
Minimize HTTP Requests |
Merges JS, CSS files into fewer files. Merges images into sprites |
|
Add an Expires or a Cache-Control Header |
Automatically adds far-future-expires headers to resources and uses auto URL versioning to ensure cached resources are kept up-to-date |
|
Gzip Components |
Components are Gzipped and cached on the server to reduce CPU load |
|
Put Stylesheets at the Top |
Stlyesheets are moved to the top of the page |
|
Put Scripts at the Bottom |
Scripts can be moved to the bottom (or anywhere) on the page |
|
Reduce DNS Lookups |
External resources can be cached and served from the local server |
|
Minify JavaScript and CSS |
JS and CSS are minified |
|
Remove Duplicate Scripts |
Duplicate JS files, stylesheets and images are removed |
|
Configure ETags |
ETags are stripped from the resources |
|
Optimize Images |
Images can be resampled, and GIFs converted to PNGs |
|
Optimize CSS Sprites |
CSS Sprites are created and organized horizontally |
|
Make favicon.ico Small and Cacheable |
Favicon is configured for caching, and inserted if it is missing, removing a 404 condition. |
The current YSlow guidelines can be found here: http://developer.yahoo.com/performance/rules.html