You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Table of Contents<br />
1. Evolution of <strong>HTTP</strong>. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7<br />
<strong>HTTP</strong>/0.9 and 1.0 8<br />
<strong>HTTP</strong>/1.1 9<br />
Beyond 1.1 10<br />
SPDY 10<br />
<strong>HTTP</strong>/2 11<br />
2. Existing workarounds to improve Web Performance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />
Introduction 13<br />
Best Practices for Web Performance 14<br />
Optimize DNS lookups 14<br />
Optimize TCP connections 15<br />
Avoid redirects 16<br />
Cache on the Client 16<br />
Cache at the Edge (= on a CDN) 17<br />
Check if content has changed before downloading it 17<br />
Compress and minify text-like content 18<br />
Avoid blocking CSS/JS 18<br />
Optimize images 19<br />
Anti-Patterns 21<br />
Spriting and resource consolidation/inlining 21<br />
Sharding 22<br />
Cookie-less domains 22<br />
Chapter summary 22<br />
3. The Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25<br />
The Connection 26<br />
Frames 28<br />
iii