High Performance Web Sites

Steve Souders

出版时间

2007-09-21

ISBN

9780596529307

评分

★★★★★
书籍介绍
Want your web site to display more quickly? This book presents 14 specific rules that will cut 25% to 50% off response time when users request a page. Author Steve Souders, in his job as Chief Performance Yahoo!, collected these best practices while optimizing some of the most-visited pages on the Web. Even sites that had already been highly optimized, such as Yahoo! Search and the Yahoo! Front Page, were able to benefit from these surprisingly simple performance guidelines. The rules in High Performance Web Sites explain how you can optimize the performance of the Ajax, CSS, JavaScript, Flash, and images that you've already built into your site -- adjustments that are critical for any rich web application. Other sources of information pay a lot of attention to tuning web servers, databases, and hardware, but the bulk of display time is taken up on the browser side and by the communication between server and browser. High Performance Web Sites covers every aspect of that process. Each performance rule is supported by specific examples, and code snippets are available on the book's companion web site. The rules include how to: * Make Fewer HTTP Requests * Use a Content Delivery Network * Add an Expires Header * Gzip Components * Put Stylesheets at the Top * Put Scripts at the Bottom * Avoid CSS Expressions * Make JavaScript and CSS External * Reduce DNS Lookups * Minify JavaScript * Avoid Redirects * Remove Duplicates Scripts * Configure ETags * Make Ajax Cacheable If you're building pages for high traffic destinations and want to optimize the experience of users visiting your site, this book is indispensable. "If everyone would implement just 20% of Steve's guidelines, the Web would be a dramatically better place. Between this book and Steve's YSlow extension, there's really no excuse for having a sluggish web site anymore." -Joe Hewitt, Developer of Firebug debugger and Mozilla's DOM Inspector "Steve Souders has done a fantastic job of distilling a massive, semi-arcane art down to a set of concise, actionable, pragmatic engineering steps that will change the world of web performance." -Eric Lawrence, Developer of the Fiddler Web Debugger, Microsoft Corporation
AI导读
核心看点
  • 提出14条前端性能优化黄金法则
  • 揭示80%响应时间消耗在页面组件下载
  • 深入解析浏览器行为与渲染细节原理
适合谁读
  • 追求极致体验的前端开发工程师
  • 希望提升网站加载速度的开发者
  • 对Web性能优化感兴趣的初学者
读前提醒
  • 建议先掌握HTTP协议基础再阅读
  • 部分内容基于早期技术,需结合现状
  • 可配合YSlow等工具实践书中规则
读者共识
  • Web前端性能优化的开山经典之作
  • 不仅告知规则,更详解背后的原理
  • 虽显陈旧但核心思想依然极具价值

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "减少HTTP请求"
  • "使用内容发布网络"
  • "1.如果将后端响应时间缩短一半,则整体响应时间只能减少5%-10% 而关注前端,同样缩短一半,则整体响应时间可减少40%-45% 2.改进前段只需要较少的时间和资源。 性能黄金法则: 只有10%~20%的最终用户响应时间花在了下载HTML文档上,其余80%~90%时间花在了下载页面的组件上"
  • "改善响应时间的最简单途径就是减少组件(图片,脚本,样式表,flash等)的数量,并由此减少HTTP请求的数量"
用户评论
三星半,因为觉得书的内容没我预料中那么有用扣半星。如果是在React、Vue等前端框架大火及前端工程化之前看这本书我应该至少打四星。
对于我这样的前端小白, 很实用. 得佩服老外写书的那股子认真劲.
先把http协议弄清楚了再来看这本书吧
以前对于那些网络优化规则只知其然,看完这本书后知其所以然了
技巧简单但是实用。
很多都已经成为了现代化前端框架的标准,但是能从其中了解到,标准从何而来;可能还得再读几遍= =
十年前的书现在看也不算过时,一边看一边觉得自己是智障,平时工作真是不求甚解!
里面的所有规则应该没有人不知道吧?这本书的优点是不光告诉了要遵守这些规则,还很详细的讲了为什么要遵守这些规则。
收藏