your hero images need you: save the day with http2 image loading / tobias baldauf (akamai...
TRANSCRIPT
Tobias Baldauf@tbaldauf
2 / 75 — [email protected]
3 / 75 — [email protected]
4 / 75 — [email protected]
7 / 75 — [email protected]
ref. http://httparchive.org/trends.php?s=All&minlabel=Mar+15+2014&maxlabel=Mar+15+2016#bytesImg&reqImg 8 / 75 — [email protected]
9 / 75 — [email protected]
What Can We Do?
10 / 75 — [email protected]
Get compressin'!
11 / 75 — [email protected]
Ship Right Format
13 / 75 — [email protected]
Automate Quality
14 / 75 — [email protected]
Still a Heavy Load :(
15 / 75 — [email protected]
Enter HTTP2
17 / 75 — [email protected]
Thanks to Clay Smith (https://twitter.com/smithclay) for this beauty! 18 / 75 — [email protected]
kudos to my team mate Lukasz Czerpak, @lukaszczerpak 19 / 75 — [email protected]
kudos to my team mate Lukasz Czerpak, @lukaszczerpak 20 / 75 — [email protected]
21 / 75 — [email protected]
H2 Constraints
22 / 75 — [email protected]
Progressive JPEGs
24 / 75 — [email protected]
Sequential JPEG Progressive JPEG
Images taken from http://www.pixelstech.net/article/1374757887-Use-progressive-JPEG-to-improve-user-experience 25 / 75 — [email protected]
Scan Layers
26 / 75 — [email protected]
Default Scan Layers
Thanks to Frédéric Kayser for creating 'jsk': http://encode.ru/threads/1800-JSK-JPEG-Scan-Killer-progressive-JPEG-explained-in-slowmo 27 / 75 — [email protected]
Org Cb
Y Cr28 / 75 — [email protected]
29 / 75 — [email protected]
30 / 75 — [email protected]
31 / 75 — [email protected]
33 / 75 — [email protected]
34 / 75 — [email protected]
1
35 / 75 — [email protected]
2
36 / 75 — [email protected]
3
37 / 75 — [email protected]
4
38 / 75 — [email protected]
5
39 / 75 — [email protected]
Speed Index
43 / 75 — [email protected]
ref. Pat Meenan, http://www.slideshare.net/patrickmeenan/measuring-the-visual-experience-of-website-performance 44 / 75 — [email protected]
ref. Pat Meenan, http://www.slideshare.net/patrickmeenan/measuring-the-visual-experience-of-website-performance 45 / 75 — [email protected]
ref. Pat Meenan, http://www.slideshare.net/patrickmeenan/measuring-the-visual-experience-of-website-performance 46 / 75 — [email protected]
Site A displays
7.4x fasterthan Site B
more info at https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/metrics/speed-index 47 / 75 — [email protected]
49 / 75 — [email protected]
50 / 75 — [email protected]
51 / 75 — [email protected]
53 / 75 — [email protected]
54 / 75 — [email protected]
55 / 75 — [email protected]
57 / 75 — [email protected]
58 / 75 — [email protected]
59 / 75 — [email protected]
61 / 75 — [email protected]
62 / 75 — [email protected]
// Prioritize a progressive JPEG's metadata and scan levels// with minimal 'calm' => maximum priority<img src="img/jpeg_opJPEG/tba/00001.jpg?bil=0!0">
// Create a cumulative cascade of 'calm'// for a progressive JPEG's metadata and scan levels// Each new value is added to the sum, lowering priority per scan layer <img src="img/jpeg_opJPEG/tba/00001.jpg?bil=0!100,50,20">
65 / 75 — [email protected]
66 / 75 — [email protected]
67 / 75 — [email protected]
68 / 75 — [email protected]
69 / 75 — [email protected]
70 / 75 — [email protected]
THANKS!
74 / 75 — [email protected]
Tobias Baldauf@tbaldauf
75 / 75 — [email protected]