Online examples can be found on this book's companion web site:
http://stevesouders.com/hpws |
Examples are included in each chapter in the context in which they are discussed. They are also listed here for easy review.
- No Image Map (Chapter 3)
- Image Map (Chapter 3)
- CSS Sprites (Chapter 3)
- Inline Images (Chapter 3)
- Inline CSS Images (Chapter 3)
- Separate Scripts (Chapter 3)
- Combined Scripts (Chapter 3)
- CDN (Chapter 4)
- No CDN (Chapter 4)
- No Expires (Chapter 5)
- Far Future Expires (Chapter 5)
- Nothing Gzipped (Chapter 6)
- HTML Gzipped (Chapter 6)
- Everything Gzipped (Chapter 6)
- CSS at the Bottom (Chapter 7)
- CSS at the Top (Chapter 7)
- CSS at the Top Using @import (Chapter 7)
- CSS Flash of Unstyled Content (Chapter 7)
- Scripts in the Middle (Chapter 8)
- Scripts Block Downloads (Chapter 8)
- Scripts at the Top (Chapter 8)
- Scripts at the Bottom (Chapter 8)
- Scripts Top vs. Bottom (Chapter 8)
- Deferred Scripts (Chapter 8)
- Expression Counter (Chapter 9)
- One-Time Expressions (Chapter 9)
- Event Handler (Chapter 9)
- Inlined JS and CSS (Chapter 10)
- External JS and CSS (Chapter 10)
- Cacheable External JS and CSS (Chapter 10)
- Post-Onload Download (Chapter 10)
- Dynamic Inlining (Chapter 10)
- Small Script Normal (Chapter 12)
- Small Script Minified (Chapter 12)
- Small Script Obfuscated (Chapter 12)
- Large Script Normal (Chapter 12)
- Large Script Minified (Chapter 12)
- Large Script Obfuscated (Chapter 12)
- XMLHttpRequest Beacon (Chapter 13)
- Image Beacon (Chapter 13)
- Duplicate ScriptsâNot Cached (Chapter 14)
- Duplicate ScriptsâCached (Chapter 14)
- Duplicate Scriptsâ10 Cached (Chapter 14)
In general, you may use the code in this book and these online examples in your programs and documentation. You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from O'Reilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your product's documentation does require permission.
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: "High Performance Web Sites by Steve Souders. Copyright 2007 Steve Souders, 978-0-596-52930-7."
If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at permissions@oreilly.com.
Get High Performance Web Sites now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.