27
Life in the Fast Lane Speed, Usability & Search Engine Optimization Dana DiTomaso CEO, Kick Point @danaditomaso kickpoint.ca

Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Embed Size (px)

Citation preview

Page 1: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Life in the Fast Lane

Speed, Usability &Search Engine Optimization

Dana DiTomasoCEO, Kick Point

@danaditomasokickpoint.ca

Page 2: Life in the Fast Lane: Speed, Usability & Search Engine Optimization
Page 3: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

We’re All Impatient Jerks

Visitors want your site to load in 2 seconds or less

Every extra second of load time causes 20% of your visitors to jump ship

Page 4: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Did We Forget?

Page 5: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Everything Old Is New Again

=

Page 6: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Don’t Be This Guy

Page 7: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Best. Website. Ever.

http://www.dolekemp96.org/main.htm

Page 8: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Dole/Kemp vs Basic WordPress

dolekemp96.org/main.htm142 lines of code

18 requests422ms load time85.6 kB page size

DNS – 151 msConnect – 159 ms

Wait – 11 msReceive – 13 ms

wp-themes.com487 lines of code

6 requests1.25s load time

125.7 kB page size

DNS – 169 msConnect – 282 ms

Wait – 276 msReceive – 112 ms

Page 9: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

That’s Nice.

http://tools.pingdom.com/fpt

Page 10: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

How Does This Affect Search Traffic?

Page 11: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Google has a “time budget” for how long they’re willing to spend on your site – don’t blow it.

Actually a Good Thing

Page 12: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

What to Consider

Page 13: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Start Testing

• https://developers.google.com/speed/pagespeed/insights• http://tools.pingdom.com/fpt/• http://www.webpagetest.org/• http://gtmetrix.com/ (is particularly harsh)

Page 14: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Clean Up Your Database

• BACKUP FIRST• In phpMyAdmin:

Page 15: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Do You Really Need That Plugin?

• Delete any plugins you’re not using• Dump anything that isn’t updated regularly• Avoid plugins that create queries on the fly

when a flat file would do

Page 16: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Use Browser Caching

• Set an expiry date in your HTTP headers for static resources

• For example:Expires: Thu, 07 Nov 2022 23:00:00 GMT

• More:https://developers.google.com/speed/docs/best-practices/caching#LeverageBrowserCaching

Page 17: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Minimize HTTP Requests

• If you’re not using a plugin on a specific page type, see if you can avoid loading it

• Do you really need social icons everywhere?• Move JS to server-side PHP if possible

Page 18: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Optimize Your Images

• Don’t upload an image larger than what’s required

• Use the right file format for the job– PNGs are awesome– GIFs are for tiny images or animation– JPGs are for photographs

• Use an image compressor– WP Smush.it plugin

Page 19: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Compress/Combine JS + CSS

Page 20: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Use Sprites

• Every time an image request is made, a kitten cries

• http://spriteme.org/

Page 21: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Install W3 Total Cache

http://wordpress.org/extend/plugins/w3-total-cache/

Really excellent step-by-step guide here:http://gtmetrix.com/wordpress-optimization-guide.html

Page 22: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Does All That Really Help?

Page 23: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Back To The Future

=

Page 24: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Responsive?

display: none?It’s still loading!

Page 25: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Change, Don’t Hide

• Think mobile first• Progressively enhance

with JS• Read this book!

http://www.abookapart.com/products/mobile-first

Page 26: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Keep Paying Attention

• http://kickpoint.ca/site-performance-dashboard-for-google-analytics/

Page 27: Life in the Fast Lane: Speed, Usability & Search Engine Optimization

Questions? Aspirin?

You made it!

Here is a cute animal who cares about speed.

Thank you for listening.