高性能网站建设页面优化建议 如何是你的网站运行速度更快

目录
[隐藏]

14 tips for performance

  1. Make fewer HTTP requests
  2. Use a CDN
  3. Add an Expires header
  4. Gzip components
  5. Put stylesheets at the top
  6. Put scripts at the bottom
  7. Avoid CSS expressions
  8. Make JS and CSS external
  9. Reduce DNS lookups
  10. Minify JS
  11. Avoid redirects
  12. Remove duplicate scripts
  13. Configure ETags
  14. Make AJAX cacheable

提高性能的14个技巧

  1. 少做 HTTP 请求
  2. 使用 CDN
  3. 增加过期的头
  4. Gzip 组件
  5. 将样式表放在头部
  6. 将脚本放于底部
  7. 避免使用CSS表达式
  8. 将JS and CSS 作为外部文件
  9. 减少DNS查询
  10. 精简 JS 脚本
  11. 避免重定向
  12. 移除重复脚本
  13. 配置 ETags
  14. 使 AJAX 可缓存

参考:http://www.cnblogs.com/feixian49/archive/2009/02/12/1388741.html

点赞 (0)

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

Captcha Code