Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Web Performance As An Essential Part Of The Use...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for Thijs Feryn Thijs Feryn
October 05, 2017

Web Performance As An Essential Part Of The User Experience - BEC 17

Slides for my web performance talk at the Belgian E-commerce Conference 2017 in Antwerpen.

Presentation details: https://feryn.eu/speaking/web-performance-essential-part-user-experience/

Avatar for Thijs Feryn

Thijs Feryn

October 05, 2017
Tweet

More Decks by Thijs Feryn

Other Decks in Technology

Transcript

  1. Response times at increased concurrency Response times 0 35 70

    105 140 Concurrency 10 50 100 150 200 250 300 350 400 450 500 Page 1 Page 2 Hypothetical example
  2. Stable speed under increasing load Response times 0 10 20

    30 40 Concurrency 10 50 100 150 200 250 300 350 400 450 500
  3. ✓ Compress images ✓ Illustrations in SVG format ✓ Inline

    images, CSS, JS ✓ CSS sprites ✓ Use “srcset” to get the right image size ✓ Uglify CSS/JS ✓ Combine CSS/JS files Reduce Response Sizes & Round Trips
  4. ✓ Avoid blocking Javascript ✓ Chunked Transfer-Encoding ✓ Gzip compression

    for non-binary data ✓ Domain sharding for static assets ✓ HTTP/2 Reduce Response Sizes & Round Trips
  5. JPG PNG CSS JS HTML JPG JPG PNG CSS CSS

    JS domain.ext img.domain.ext static.domain.ext HTTP/1.1 domain sharding
  6. ✓ Trans Atlantic: 75 ms ✓ Europe: 11 ms ✓

    North America: 39 ms ✓ Trans Pacific: 102 ms ✓ Latin America: 133 ms ✓ EMEA to Asia Pacific: 131 ms Network latency
  7. ✓ Less latency ✓ Caching ✓ Serve stale data if

    origin site is down ✓ Output optimization ✓ Anti-DDoS measures CDN benefits