improving page speed in wordpress

14
Improving Page Speed In WordPress By John Locke

Upload: wray

Post on 06-Jan-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Improving Page Speed In WordPress. By John Locke. Why Focus on Page Speed?. Customers expect it: 57%abandoment rate after 3 seconds Google grades you on it: Page speed is a search ranking factor Competitive advantage: Page weight is going up. How Fast Are Your Pages?. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Improving Page Speed In WordPress

Improving Page Speed In WordPress

By John Locke

Page 2: Improving Page Speed In WordPress

Why Focus on Page Speed?

• Customers expect it: 57%abandoment rate after 3 seconds

• Google grades you on it: Page speed is a search ranking factor

• Competitive advantage: Page weight is going up

Page 3: Improving Page Speed In WordPress

How Fast Are Your Pages?

• http://developers.google.com/speed/pagespeed/insights/

Page 4: Improving Page Speed In WordPress

Start With Hosting

• Shared hosting – You get what you pay for

• VPS Hosting: Works for most businesses

• Dedicated hosting: For heavy traffic

Page 5: Improving Page Speed In WordPress

Optimize Your Images

• Images are usually over half the page weight

• Too-large images add unnecessary download time

• Serve small background images on mobile first

• {display:none} still downloads assets!

• Retina.js for HDPI devices

Page 6: Improving Page Speed In WordPress

Check Your Theme

• How many HTTP requests are being made?

• Can you consolidate these better?

• Beware Theme Options that look for Google Fonts that don’t exist

Page 7: Improving Page Speed In WordPress

Page Caching

• Plugins: W3 Total Cache and WP Super Cache

• Takes a snapshot of page assets, serves those to browser

• If you use a CDN, check recommended settings

• You can minify files as well

Page 8: Improving Page Speed In WordPress

Minify Files When Possible

• Minification: removing white space and bytes

• W3 Total Cache > Minify > Help [add CSS and JS files manually]

• Careful with RSS feeds, min.js files

• Can be done manually as well

Page 9: Improving Page Speed In WordPress

GZIP

• Compresses files before downloading to browser – like a Zip file

• Usually taken care of with caching plugins

• You can check at GZipWTF.com

Page 10: Improving Page Speed In WordPress

CDNs

• Content Delivery Network – External servers

• Allows for multiple HTTP requests at once

• Amazon (AWS), Max-CDN, Akamai are examples

• Jetpack Photon also (but images lose some SEO)

Page 11: Improving Page Speed In WordPress

DNS Prefetch

• Read this article on front-end performance

• Saves time by looking up DNS for external files

• /* Syntax looks like this: */• <link rel="dns-prefetch" href="//www.google-

analytics.com">

• Use sparingly – still a HTTP request

Page 14: Improving Page Speed In WordPress

Thank You.