61
Supercharging your WordPress site’s speed by @KathirSidVel

WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages. 0/04/using-site-speed-in-web

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Supercharging your WordPress site’s speedby @KathirSidVel

Page 2: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

What is Page Speed?

“Page speed is a measurement of how fast the content on your page loads.”

https://moz.com/learn/seo/page-speed

Page 3: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Better search rankings

Page Speed is one of the signals in Google’s

algorithm to rank pages.

https://webmasters.googleblog.com/2010/04/using-site-speed-in-web-search-ranking.html

Why isPage Speedimportant?

Page 4: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Enhanced user experience

Faster sites create happy visitors.

https://research.googleblog.com/2009/06/speed-matters.html

Why isPage Speedimportant?

Page 5: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Increased conversions

Happy visitors tend to trust in your website and buy from you.

https://blog.kissmetrics.com/speed-is-a-killer/

Why isPage Speedimportant?

Page 6: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

How Page Load Time Affects

Conversion Rates: 12 Case

Studies

https://blog.hubspot.com/marketing/page-load-time-conversion-rates

Why isPage Speedimportant?

Page 7: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Let’s put it to the speed test

Page 8: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test Environment

Cloud server from

Shared by a number of other websites.

Located in the UK

https://wpspeed.edinburghwebsites.co.uk/

Page 9: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Demo WordPress

Install

Posts

Pages

Media

CommentsTheme Unit Testhttps://codex.wordpress.org/Theme_Unit_Test

Page 10: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Demo WordPress

Install

All plugins removed

+

Using the twenty seventeen themeTheme Unit Test

https://codex.wordpress.org/Theme_Unit_Test

Page 11: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test pagewith a few

imagesFeatured image replaced with a

large and unoptimised image

Page 12: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Testing Tools

https://www.keycdn.com/blog/website-speed-test-tools/

Page 13: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 1 - PageSpeed Insights

Page 14: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 1 - GTMetrix

https://gtmetrix.com/reports/wpspeed.edinburghwebsites.co.uk/bzjcEYni

Page 15: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Same site on an average shared server

http://slow.edinburghwebsites.co.uk/

Page 16: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Same site on an average shared server

https://gtmetrix.com/reports/slow.edinburghwebsites.co.uk/iJaT4OUA

Page 17: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Comparison

https://wpspeed.edinburghwebsites.co.uk/wp-speed-test/

http://slow.edinburghwebsites.co.uk/wp-speed-test/

Page 18: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

https://www.keycdn.com/support/what-is-ttfb/

“You should reduce your server response time under 200ms”

https://developers.google.com/speed/docs/insights/Server

Time To First Byte

Page 19: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

https://wpspeed.edinburghwebsites.co.uk/wp-speed-test/

http://slow.edinburghwebsites.co.uk/wp-speed-test/

Page 20: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

SiteGround CloudTSO Shared

Page 21: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

https://www.thewebmaster.com/hosting/2015/dec/14/what-is-http2-and-how-does-it-compare-to-http1-1/

HTTP/1.1vsHTTP/2

Page 22: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

http://slow.edinburghwebsites.co.uk/wp-

speed-test/

https://wpspeed.edinburghwebsites.co.uk/wp-speed-test/

HTTP/1.1

HTTP/2

Page 23: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

SiteGround Cloud - HTTP/2TSO Shared - HTTP/1.1

Page 24: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Continue using the Siteground

version+

let’s add some plugins

Contact Form 7

Google Tag Manager

Post Duplicator

Wordfence Security

WP-Optimize

Yoast SEO

Page 25: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 2 - PageSpeed Insights

Page 26: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 2 - GTMetrix

https://gtmetrix.com/reports/wpspeed1.edinburghwebsites.co.uk/Jnc6P452

Page 27: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Evaluate WordPress plugins before installing them.

Page 28: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Recommendations from PageSpeed Insights and GTMetrix

Page 29: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Plugin 1:WP Super

Cache

https://varvy.com/pagespeed/ttfb.html

Serving cached and compressed pages to your visitors

Page 30: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

WP Super Cache Settings

Page 31: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Plugin 2:Autoptimize

Combine CSS / JS files

Minify (remove whitespace)

Cache CSS / JS files

CSS in the page head

Move and defer JS to the footer

Optimise JavaScript, CSS and HTML

Page 32: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Autoptimize Settings

Page 33: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Autoptimize

Page 34: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Plugin 3:WP

Performance Score Booster

Remove query strings from static content

Enable GZIP compression

Leverage browser caching

Page 35: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

WP Performance Score Booster Settings

Page 36: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

WP Performance Score Booster .htaccess

Page 37: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Plugin 4:Imsanity

“Automatically resizes huge

image uploads down to a size

that is more reasonable for

display in browser...

… also provides a bulk-resize

feature to selectively resize

previously uploaded images”

Resize huge images

Page 38: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Imsanity Settings

Page 39: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Plugin 5:reSmush.it

Image Optimizer

Free Image optimization based

on reSmush.it API

Image size reduction based on

several advanced algorithms

Bulk operation to optimize all

your pictures in 2 clicks

Page 40: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

reSmush.it Settings

Page 41: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 3 - PageSpeed Insights

Page 42: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 3 - GTMetrix

https://gtmetrix.com/reports/wpspeed2.edinburghwebsites.co.uk/ALQJMHOn

Page 43: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Recommendations from PageSpeed Insights

Oversized images

Could defer loading of the CSS

file

External files outside our

control

Page 44: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Recommendations from GTMetrix

External files outside our control

Oversized images

Could defer loading of the JS files

Optimize file delivery

Page 45: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Removed the header image+

Resized and replaced a content area image

Page 46: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 4 - PageSpeed Insights

Page 47: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 3 - GTMetrix

https://gtmetrix.com/reports/wpspeed5.edinburghwebsites.co.uk/7nfQxPag

Page 48: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Final Boost

https://www.edinburghwebsites.co.uk/

Page 49: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

How can Cloudflare

help?

DNS, GZIP and HTTP/2

Content Delivery Network

HTML / CSS / JS Minify

Rocket Loader

Polish Image Optimization (pro)

Mirage Image Optimization (pro)

Security (pro)

https://www.cloudflare.com/performance/

Page 50: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 5 - PageSpeed Insights

Page 51: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Test 5 - GTMetrix

https://gtmetrix.com/reports/www.edinburghwebsites.co.uk/4vtpwGz2

Page 52: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Let’s compare

Page 53: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Marks and Spencer

Page 54: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Boots

Page 55: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Amazon

Page 56: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Argos

Page 57: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Should you over-optimise?Speed scores are there for

guidance only ● Speed is important, but there are 100s of

other factors that determine your search

rankings.

● Great content + user experience counts.

Page 58: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Takeaways

Page 59: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Page Speed Optimisation - Easy Wins

● Get the right hosting solution - shared / VPS / dedicated.

● Host close to your target audience / use a Content Delivery Network.

● Serve using HTTP/2. Enable compression. Leverage browser caching.

● Cache dynamic pages to speed up ‘Time to First Byte’ (200ms).

● Crop, resize and optimise images.

● Minify HTML code + minify and merge CSS and JS files.

● Move JS files to the footer. Load CSS and JS files asynchronously.

Page 60: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Page Speed Optimisation - WordPress Plugins

● WP Super Cache

● Autoptimize

● WP Performance Score Booster

● Imsanity

● reSmush.it Image Optimizer

Page 61: WordPress site’s speed Supercharging your...Better search rankings Page Speed is one of the signals in Google’s algorithm to rank pages.  0/04/using-site-speed-in-web

Thank You!@KathirSidVel

https://www.linkedin.com/in/kathirvel/

https://www.kathirvel.com