59
How slow load times hurt UX (and what you can do about it) Tammy Everts O’Reilly Fluent 2016

How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Embed Size (px)

Citation preview

Page 1: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

How slow load times hurt UX

(and what you can do about it)

Tammy EvertsO’Reilly Fluent 2016

Page 2: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

@tamevertsperformancebeacon.com

WPOstats.com

Page 3: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 4: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

What do users want?What metrics does performance affect?

What are the most common performance issues?

What can you do to fix them?

Page 5: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

What do users want?

Page 6: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 7: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 8: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

“47% of consumers expect a web page to load in 2 seconds

or less.” Akamai, 2009

Page 9: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 10: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

“But my site is different.”

Page 11: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Performance affects everything… for everyone

Page 12: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 13: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Every 1 second of load time improvement equals a 2% conversion rate increase for Walmart.com

Staples.com shaves 1 second from median load time, improves conversion rate by 10%

Intuit cuts load times by more than half, increases conversions by 14%

Page 14: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

http://www.soasta.com/blog/mobile-web-performance-monitoring-conversion-rate/

Page 15: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

At Google, a 500-millisecond slowdown equals a 25% decrease in searches

GQ cuts load time by 80%, grows traffic by 83%

Edmunds.com shaves 7 seconds off load time, sees 17% increase in page views and 3% increase in ad revenue

Page 16: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Lara Hogan, Senior Engineering Manager

“We ran this experiment on mobile web where we added 160 kilobytes of hidden

images, meaning the user saw nothing different.

We just dumped a bunch of hidden images onto the page and increased page weight by 160

kilobytes.

It triggered a 12% increase in bounce rate. Insane. Twelve percent is a lot of percent.”

Page 17: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

fast

slow

Page 18: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 19: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

What are the most common performance/UX issues?

Page 20: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 21: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 22: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 23: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Why?????Poorly executed stylesheets

e.g. carousels, sliders, RWD, custom fontsBlocking/unoptimized JS

e.g. third-party scripts, pop-upsMassive resources

e.g. high-res hero imagesDesigning, developing, and testing in an ivory

towerLittle/no real user monitoring of live sites

Page 24: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

19 things you can do*

*There are waaaaay more than 19 things you can do

Page 25: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 26: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Front-end

Back-end

“80-90% of end-user response time is at the front end. Start there.”Steve Souders, ‘High Performance Web Sites’

Page 27: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 28: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 29: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 30: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 32: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Know where your page weight is coming fromCreate a performance budget for your pagesMeasure, measure, measure

Solutions

Page 33: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 34: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 35: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 36: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

How to set a performance budgethttp://timkadlec.com/2013/01/setting-a-performance-budget/

Performance budget metricshttp://timkadlec.com/2014/11/performance-budget-metrics/

Page 37: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 38: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 39: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 40: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

ReformatCompressDefer/lazy loadAdaptive imagesAuto-preloading

Solutions

Page 42: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Let’s talk complexity

Page 43: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

http://www.webpagetest.org/

Page 44: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 45: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 46: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 47: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Consolidate resourcesMake sure stylesheets are in the document HEADOptimize web fonts (See Ilya Grigorik’s post: http://soasta.io/1R8ySpw)Optimize pop-up scriptsMonitor performance ALL THE TIME

Solutions

Page 50: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Third-party contentcan make up >50%

of page requests

Page 51: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

What if my third parties fail?

Original: 3.5s

SPOF: 22.7s

Page 52: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 53: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Defer scriptsUse asynchronous versions (when possible)Know your scripts and their performance penaltiesMonitor constantly

Solutions

Page 54: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Keep on learnin’!

Page 55: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 56: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 57: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]
Page 59: How slow load times hurt UX (and what you can do about it) [FluentConf 2016]

Thanks!@tameverts

performancebeacon.comWPOstats.com