Web 2.0 optimisation
Samedi, septembre 15th, 2007Here are some web 2.0 optimisation tricks
80-90% of end user response time is spent on the front-end. so optimize there.
14 Rules for a Better User Experience
1. make fewer HTTP requests
2. use a CDN
3. add an Expires header
4. gzip components - even JS and CSS
5. CSS at top
6. JavaScripts to bottom
7. avoid CSS expressions
8. make JS and CSS external
9. reduce DNS lookups
10. minify Javascript
11. avoid redirects
12. remove duplicate scripts
13. configure Etags - disable in most cases if load-balanced or multiple web servers
14. make AJAX cacheable
Source: James’World