Slide 1

Slide 1 text

The three F's of Frontend Engineering

Slide 2

Slide 2 text

Marco Otte-Witte @marcoow

Slide 3

Slide 3 text

simplabs.com @simplabs

Slide 4

Slide 4 text

Framework Fatigue WTF Fear of IE

Slide 5

Slide 5 text

Framework Fatigue WTF Fear of IE

Slide 6

Slide 6 text

WTF Fear of IE Framework Fatigue ¯\_(ツ)_/¯

Slide 7

Slide 7 text

Framework Fatigue WTF Fear of IE

Slide 8

Slide 8 text

Write Fast Run Fast Deliver Fast

Slide 9

Slide 9 text

Write Fast Run Fast Deliver Fast

Slide 10

Slide 10 text

Write Fast Run Fast Deliver Fast

Slide 11

Slide 11 text

Write Fast Run Fast Deliver Fast

Slide 12

Slide 12 text

Write Fast Run Fast Deliver Fast

Slide 13

Slide 13 text

Delivering fast apps even faster

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

GET / GET /app.js

Slide 19

Slide 19 text

Link: ; rel=preload; as=script Resource Hints

Slide 20

Slide 20 text

GET / GET /app.js

Slide 21

Slide 21 text

GET / GET /app.js

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

Link: ; rel=preload; as=script Link: ; rel=preload; as=script

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

Preloading does not work with SRI Do not preload everything as bandwidth is limited!

Slide 29

Slide 29 text

HTTP/2 Push could use that as well but there are problems https://jakearchibald.com/2017/h2-push-tougher-than-i-thought/

Slide 30

Slide 30 text

preload is great when you know the URL but what if you don't?

Slide 31

Slide 31 text

https://external-data-api.com/projects/12

Slide 32

Slide 32 text

DNS lookup HTTP connect SSL Handshake TTFB Content Download

Slide 33

Slide 33 text

Slide 34

Slide 34 text

DNS lookup HTTP connect SSL Handshake TTFB Content Download

Slide 35

Slide 35 text

TTFB Content Download

Slide 36

Slide 36 text

preload and preconnect make the browser aware of critical resources earlier in the loading process

Slide 37

Slide 37 text

No request is faster than no request

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

How likely are users to have fresh assets in their browser caches?

Slide 41

Slide 41 text

- dist/assets/mweb.js: (>) grows from 412.267 KiB to 412.314 KiB - dist/assets/vendor.js: (>) grows from 1.126 MiB to 1.126 MiB

Slide 42

Slide 42 text

- dist/assets/mweb.js: (>) grows from 412.267 KiB to 412.314 KiB - dist/assets/vendor.js: (>) grows from 1.126 MiB to 1.126 MiB

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

there's much more HTTP/2 CDNs inlining critical CSS webpagetest.org RUM images SSR Bundle splitting

Slide 47

Slide 47 text

Thanks

Slide 48

Slide 48 text

simplabs.com @simplabs