Yahoo's 34 Military Rules

1. Minimize the number of HTTP requests 2. Reduce the number of
DNS lookups
3. Avoid jumps
4. Cacheable AJAX
5. Defer content loading
6. Preloading 7. Reduce the number of
DOM elements Minimum number of 10. Don't get 404 errors 11. Use a content distribution network 12. Specify Expires or Cache-Control for file headers (setup server) 13. Gzip file content (setup server) 14. Configure ETag (setup server) 15. Flush output buffers early 16. Use GET for AJAX requests 17. Put style sheets on top 18. Avoid CSS Expressions 19. Use external JavaScript and CSS 20. Cut JavaScript and CSS 21. Replace @import with 22 , avoid using filters23 , put scripts at the bottom of the page24, eliminate duplicate scripts25 , reduce DOM access26, develop smart event handlers27 , reduce cookie size28, use non-coockie domain names for page content29 , optimize images






















30. Optimize CSS Spirite
31. Don't scale images in HTML
32. Keep favicon.ico small and cacheable
33. Keep a single content smaller than 25K
34. Pack components into composite text

Yahoo 34 Military Rules

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326907835&siteId=291194637