High Performance Web Sites. Essential Knowledge for Front-End Engineers - Helion
ISBN: 978-05-965-5069-1
stron: 170, Format: ebook
Data wydania: 2007-09-11
Księgarnia: Helion
Cena książki: 92,65 zł (poprzednio: 107,73 zł)
Oszczędzasz: 14% (-15,08 zł)
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 adramatically better place. Between this book and Steve's YSlow extension, there's reallyno 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
Osoby które kupowały "High Performance Web Sites. Essential Knowledge for Front-End Engineers", wybierały także:
- Zen Steve'a Jobsa 29,67 zł, (8,90 zł -70%)
- ASP.NET MVC. Kompletny przewodnik dla programistów interaktywnych aplikacji internetowych w Visual Studio 86,77 zł, (26,90 zł -69%)
- jQuery, jQuery UI oraz jQuery Mobile. Receptury 57,74 zł, (17,90 zł -69%)
- Scratch. Komiksowa przygoda z programowaniem 36,06 zł, (11,90 zł -67%)
- Baltie. Kurs video. Poziom pierwszy. Elementarz programowania w języku wizualnym 59,00 zł, (26,55 zł -55%)
Spis treści
High Performance Web Sites. Essential Knowledge for Front-End Engineers eBook -- spis treści
- High Performance Web Sites
- SPECIAL OFFER: Upgrade this ebook with OReilly
- Praise for High Performance Web Sites
- Foreword
- Preface
- How This Book Is Organized
- Conventions Used in This Book
- Code Examples
- Comments and Questions
- Safari Books Online
- Acknowledgments
- 1. The Importance of Frontend Performance
- Tracking Web Page Performance
- Where Does the Time Go?
- The Performance Golden Rule
- 2. HTTP Overview
- Compression
- Conditional GET Requests
- Expires
- Keep-Alive
- Theres More
- 3. Rule 1: Make Fewer HTTP Requests
- Image Maps
- CSS Sprites
- Inline Images
- Combined Scripts and Stylesheets
- Conclusion
- 4. Rule 2: Use a Content Delivery Network
- Content Delivery Networks
- The Savings
- 5. Rule 3: Add an Expires Header
- Expires Header
- Max-Age and mod_expires
- Empty Cache vs. Primed Cache
- More Than Just Images
- Revving Filenames
- Examples
- 6. Rule 4: Gzip Components
- How Compression Works
- What to Compress
- The Savings
- Configuration
- Apache 1.3: mod_gzip
- Apache 2.x: mod_deflate
- Proxy Caching
- Edge Cases
- Gzip in Action
- 7. Rule 5: Put Stylesheets at the Top
- Progressive Rendering
- sleep.cgi
- Blank White Screen
- CSS at the Bottom
- CSS at the Top
- Flash of Unstyled Content
- What's a Frontend Engineer to Do?
- 8. Rule 6: Put Scripts at the Bottom
- Problems with Scripts
- Parallel Downloads
- Scripts Block Downloads
- Worst Case: Scripts at the Top
- Best Case: Scripts at the Bottom
- Putting It in Perspective
- 9. Rule 7: Avoid CSS Expressions
- Updating Expressions
- Working Around the Problem
- One-Time Expressions
- Event Handlers
- Conclusion
- 10. Rule 8: Make JavaScript and CSS External
- Inline vs. External
- In Raw Terms, Inline Is Faster
- Page Views
- Empty Cache vs. Primed Cache
- Component Reuse
- Typical Results in the Field
- Home Pages
- The Best of Both Worlds
- Post-Onload Download
- Dynamic Inlining
- Inline vs. External
- 11. Rule 9: Reduce DNS Lookups
- DNS Caching and TTLs
- Factors Affecting DNS Caching
- TTL Values
- The Browser's Perspective
- Internet Explorer
- Firefox
- Reducing DNS Lookups
- DNS Caching and TTLs
- 12. Rule 10: Minify JavaScript
- Minification
- Obfuscation
- The Savings
- Examples
- Icing on the Cake
- Inline Scripts
- Gzip and Minification
- Minifying CSS
- 13. Rule 11: Avoid Redirects
- Types of Redirects
- How Redirects Hurt Performance
- Alternatives to Redirects
- Missing Trailing Slash
- Connecting Web Sites
- Tracking Internal Traffic
- Tracking Outbound Traffic
- Prettier URLs
- 14. Rule 12: Remove Duplicate Scripts
- Duplicate ScriptsThey Happen
- Duplicate Scripts Hurt Performance
- Avoiding Duplicate Scripts
- 15. Rule 13: Configure ETags
- What's an ETag?
- Expires Header
- Conditional GET Requests
- Last-Modified Date
- Entity Tags
- The Problem with ETags
- ETags: Use 'Em or Lose 'Em
- ETags in the Real World
- What's an ETag?
- 16. Rule 14: Make Ajax Cacheable
- Web 2.0, DHTML, and Ajax
- Web 2.0
- DHTML
- Ajax
- Asynchronous = Instantaneous?
- Optimizing Ajax Requests
- Caching Ajax in the Real World
- Yahoo! Mail
- Google Spreadsheets
- Web 2.0, DHTML, and Ajax
- 17. Deconstructing 10 Top Sites
- Page Weight, Response Time, YSlow Grade
- How the Tests Were Done
- Amazon
- AOL
- CNN
- eBay
- MSN
- MySpace
- Wikipedia
- Yahoo!
- YouTube
- Index
- About the Author
- Colophon
- SPECIAL OFFER: Upgrade this ebook with OReilly