Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Book Description
Copyright
Brief Table of Contents
Table of Contents
Foreword
Preface
Acknowledgments
About this Book
Who should read this book
Roadmap
Tools used in this book
Code conventions
Author Online
About the Author
About the Cover Illustration
Chapter 1. Understanding web performance
1.1. Understanding web performance
1.2. Getting up and running
1.3. Auditing the client’s website
1.4. Optimizing the client’s website
1.5. Performing the final weigh-in
1.6. Summary
Chapter 2. Using assessment tools
2.1. Evaluating with Google PageSpeed Insights
2.2. Using browser-based assessment tools
2.3. Inspecting network requests
2.4. Rendering performance-auditing tools
2.5. Benchmarking JavaScript in Chrome
2.6. Simulating and monitoring devices
2.7. Creating custom network throttling profiles
2.8. Summary
Chapter 3. Optimizing CSS
3.1. Don’t talk much and stay DRY
3.2. Mobile-first is user-first
3.3. Performance-tuning your CSS
3.4. Working with CSS transitions
3.5. Summary
Chapter 4. Understanding critical CSS
4.1. What does critical CSS solve?
4.2. How does critical CSS work?
4.3. Implementing critical CSS
4.4. Weighing the benefits
4.5. Making maintainability easier
4.6. Considerations for multipage websites
4.7. Summary
Chapter 5. Making images responsive
5.1. Why think about image delivery?
5.2. Understanding image types and their applications
5.3. Image delivery in CSS
5.4. Image delivery in HTML
5.5. Summary
Chapter 6. Going further with images
6.1. Using image sprites
6.2. Reducing images
6.3. Encoding images with WebP
6.4. Lazy loading images
6.5. Summary
Chapter 7. Faster fonts
7.1. Using fonts wisely
7.2. Compressing EOT and TTF font formats
7.3. Subsetting fonts
7.4. Optimizing the loading of fonts
7.5. Summary
Chapter 8. Keeping JavaScript lean and fast
8.1. Affecting script-loading behavior
8.2. Using leaner jQuery-compatible alternatives
8.3. Getting by without jQuery
8.4. Animating with requestAnimationFrame
8.5. Summary
Chapter 9. Boosting performance with service workers
9.1. What are service workers?
9.2. Writing your first service worker
9.3. Updating your service worker
9.4. Summary
Chapter 10. Fine-tuning asset delivery
10.1. Compressing assets
10.2. Caching assets
10.3. Using CDN assets
10.4. Using resource hints
10.5. Summary
Chapter 11. Looking to the future with HTTP/2
11.1. Understanding why we need HTTP/2
11.2. Exploring how optimization techniques change for HTTP/2
11.3. Sending assets preemptively with Server Push
11.4. Optimizing for both HTTP/1 and HTTP/2
11.5. Summary
Chapter 12. Automating optimization with gulp
12.1. Introducing gulp
12.2. Laying down the foundations
12.3. Writing gulp tasks
12.4. Going a little further with gulp plugins
12.5. Summary
Appendix A. Tools reference
A.1. Web-based tools
A.2. Node.js-based tools
A.3. Other tools
Appendix B. Native equivalents of common jQuery functionality
B.1. Selecting elements
B.2. Checking DOM readiness
B.3. Binding events
B.4. Iterating over a set of elements
B.5. Manipulating classes on elements
B.6. Accessing and modifying styles
B.7. Getting and setting attributes
B.8. Getting and setting element contents
B.9. Replacing elements
B.10. Hiding and showing elements
B.11. Removing elements
B.12. Going further
Index
List of Figures
List of Tables
List of Listings
← Prev
Back
Next →
← Prev
Back
Next →