Optimizing WordPress Performance: Page Speed and Load Times. Doug Yuen



Similar documents
Website Optimization Tips for Speed

Accelerating Wordpress for Pagerank and Profit

Kentico Site Delivery Checklist v1.1

Performance Report for: Report generated: Friday, April 24, 2015, 7:29 AM (via API)

Web Performance. Lab. Bases de Dados e Aplicações Web MIEIC, FEUP 2014/15. Sérgio Nunes

A set-up guide and general information to help you get the most out of your new theme.

Improving Magento Front-End Performance

Getting Started with the new VWO

WP Popup Magic User Guide

WP Popup Magic User Guide

AUDIT REPORT EXAMPLE

Project specification for suncoastreoholdings.com. Version 1.0

Easy WP SEO User Guide. Version 1.5

WompMobile Technical FAQ

Front-End Performance Testing and Optimization

YOUR FIRST WEBSITE 5 EASY STEPS WEBSITE QUICKSTART

Google Sites: Creating, editing, and sharing a site

SEO BEST PRACTICES IPRODUCTION. SEO Best Practices. November 2013 V3. 1 iproduction

LiveStreamingCDN Producer User s Guide

Intro to Web Development

Table of contents. HTML5 Data Bindings SEO DMXzone

SiteOrigin WordPress Theme Pitch

ireview Template Manual

deskspace responsive web builder: Instructions

WHAT'S NEW IN SHAREPOINT 2013 WEB CONTENT MANAGEMENT

After many years we are happy to create a new social plugin with a great potential.

SmallBiz Dynamic Theme User Guide

White paper: Google Analytics 12 steps to advanced setup for developers

Software User Guide. WordPress Plugin Version 1.0

Get More Hits to Your Website

How to work with the WordPress themes

The easy way to a nice looking website design. By a total non-designer (Me!)

DIGITAL MARKETING TRAINING

Mobile Application Performance Report

Buyer s Guide to Managed WordPress Hosting

Description of Services for Basic, Intermediate, and Advanced Website Packages

Drupal Performance Tuning

Facebook - Twitter - Google +1 all in one plugin for Joomla enable "Twitter button", "Google +1

frequently asked questions which you might find useful for creating/updating your SlideRunner. Frequently Asked Questions

SB Custom ecommerce Package Custom Website Design 1 Year Unlimited Support

Setup The package simply needs to be installed and configured for the desired CDN s distribution server.

The Devil is in the Details. How to Optimize Magento Hosting to Increase Online Sales

HOW A FREE WEBSITE CAN COST YOUR SMALL BUSINESS OVER $75,000 IN FIVE YEARS!

How To Choose A Hosting Package For Your Website

WordPress SEO 101

MiniBase. Custom View Tips & Tricks. Schoolwires Centricity 2.0

This book is solely for personal use. You do not have the right to resell or distribute in any form. E-Design LLC

BT MEDIA JOOMLA COMPONENT

Pizza SEO: Effective Web. Effective Web Audit. Effective Web Audit. Copyright Pizza SEO Ltd.

HW9 WordPress & Google Analytics

Support Documentation

Installing. Google Analytics. On Your WordPress Website. A Comprehensive How-To. For Business Owners. To Better Inform Your SEO and Marketing Strategy

85.1. Review of google.com. Your website score. Generated on Introduction. Table of Contents SEO. Iconography Pass

Deep analysis of a modern web site

Google Analytics for Robust Website Analytics. Deepika Verma, Depanwita Seal, Atul Pandey

Getting the most from your Google Analytics

Skills for Employment Investment Project (SEIP)

Getting Started with WordPress. A Guide to Building Your Website

WordPress and HTML Basics

Getting Started with AWS. Hosting a Static Website

YouTube SEO How-To Guide: Optimize, Socialize & Analyze Your YouTube Presence

Best Practices for WordPress and SEO

Top Navigation menu - Tabs. User Guide 1. &

Content Management System

79 Tips and Tricks for Magento Performance Improvement. for Magento Performance Improvement

making drupal run fast

About Todd Bailey (Presenter)

Planning a Responsive Website

MAGENTO THEME SHOE STORE

Ecommerce and PayPal Shopping Cart

Iceberg Commerce Video Gallery Extension 2.0 For Magento Version 1.3, 1.4, 1.5, 1,6

Initial research provides the bedrock for all good decision making and drives your digital marketing across all disciplines.

Search Engine Optimization Glossary

Internet Marketing Career Point. Boost your Career. Comprehensive Digital Marketing Training Program

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Self-Hosted Implementation

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013

FixedPriceWebSite.co.uk. Introduction. Business people want to run their business not their website! What problem is it solving?

WordPress Optimization

Index. AdWords, 182 AJAX Cart, 129 Attribution, 174

Create a Google Site in DonsApp

PayPal Integration Instructions

Introduction Upload Upload Document Quick Upload Salesforce 1 Upload Salesforce File Upload Download...

30 Days Practical Training Course in Web Design

How To Build An Online Store On Ecwid

Web Hosting Control Panel

Altima Lookbook Free Extension v

Mobile Responsive Web Design

Transcription:

Optimizing WordPress Performance: Page Speed and Load Times Doug Yuen

Why Worry About Page Speed? Make your visitors happy and keep their attention. The longer your site takes to load, the more likely a visitor will leave without converting. 40% of people abandon a site that takes more than 3 seconds to load. A 1 second delay in page response can result in a 7% reduction in conversions. If an e-commerce site is making $100,000 per day, a 1 second page delay could potentially cost you $2.5 million in lost sales every year. http://blog.kissmetrics.com/loading-time/

Why Worry About Page Speed? Google rankings. Site speed is a ranking factor. You may have heard that here at Google we're obsessed with speed, in our products and on the web. As part of that efort, today we're including a new signal in our search ranking algorithms: site speed. http://googlewebmastercentral.blogspot.com/2010/04/using-site-speed-in-web-search-ranking.html Keep your visitors' attention. The longer your site takes to load, the more likely a visitor will leave. Handle trafc spikes with ease. Caching and other performance optimizations reduce the chance of your website going down if you get a lot of visitors at once. Save money. Faster, smaller page sizes will reduce your bandwidth costs.

Measuring Performance

Uptime Monitoring Before worrying about performance, make sure your website has high uptime. If you're not monitoring your site, you may be surprised to see that it's ofine more than you think. These services will send you a notifcation when your site goes down, and another notifcation when it comes back up. Sign up for at least two of these services for redundancy. Pingdom (free): https://www.pingdom.com/free/ Uptime Robot (free): http://uptimerobot.com Montastic (free): http://www.montastic.com ManageWP (premium): http://managewp.com

Performance Measurement Tools GTMetrix: http://gtmetrix.com Free to use without setting up an account Free account allows 5 monitored URLs, 20 saved reports Pro account has even more features Pingdom: http://tools.pingdom.com/fpt/ Free to use without setting up an account

Identifying the Problems

Understanding GTMetrix Key Measurements (in the Summary): Page Speed Grade YSlow Grade Page Load Time Total Page Size Total Number of Requests

Page Speed Grade The higher, the better. Aim for an A or better. Based on Google's recommendations. Recommendations are listed below, the default tab under Breakdown. Click on each recommendation to see specifc details.

YSlow Grade The higher, the better. Aim for a B or better. Based on Yahoo's recommendations. It's not as important as Page Speed, but worth looking at when you've done all you can to improve elsewhere.

Page Load Time This is arguably the most important optimization metric to focus on. The lower, the better. Aim for < 2.00s on GTMetrix and Pingdom. Note: Load times from locations and servers will vary. Impacted by: Page size. Number of requests. Response time of requests. This depends on the server speed of both internal requests and external requests.

Total Page Size The lower, the better. Impacted by the fles needed to render the page, primarily: Images Videos JavaScript CSS HTML

Total Number of Requests The lower, the better. Impacted by the number of: Files referenced (images, CSS fles, JavaScript fles, etc.) Embeds (YouTube videos, Facebook Like Box, etc.) Social sharing counts (Likes, Tweets, +1s)

Solving the Problems

The 80/20 of Optimization Hosting Image optimization Caching Plugins Embeds and other external requests

Hosting Upgrade to managed WordPress hosting. Don't use cheap shared hosting. Synthesis: http://websynthesis.com WP Engine: http://wpengine.com Benefts: Better server speed Signifcantly better server uptime Some built-in performance optimization Security and backups

Image Optimization Optimize images. Use a plugin to optimize/compress images automatically. WP Smush.it: http://wordpress.org/plugins/wp-smushit/ EWWW Image Optimizer: http://wordpress.org/plugins/ewww-image-optimizer/

Image Optimization Serve scaled images. Upload images at the correct size instead of resizing them in the browser with CSS. This way you're not requiring visitors to download more data than what is necessary.

Image Optimization Specify image dimensions. For example, instead of: <img src="http://example.com/wpcontent/uploads/2014/01/image.png"> Use: <img src="http://example.com/wpcontent/uploads/2014/01/image.png" width="80" height="60">

Caching Leverage browser caching. Normally, loading a WordPress page can require many database requests. Caching will deliver static HTML fles instead, making your pages load signifcantly faster. Caching can be difcult to set up. The correct settings for your site depends on your server confguration and plugins. W3 Total Cache: http://wordpress.org/plugins/w3-total-cache/

Plugins Plugins are usually the primary cause for slowing down your site. Poorly written plugins tend to load extra fles or make unnecessary requests. Your theme, if poorly written, can also have the same efect on your site. Deactivate the plugins that you're not actively using. Delete your unused themes and plugins. Switch to a better theme and plugins if necessary.

Plugins Use the P3 Plugin Performance Profler to determine which plugins are impacting your site the most. Deactivate and delete any that are not essential. https://wordpress.org/plugins/p3-profler/ The quality of the plugins matter more than the number. EfcientWP.com has 48 plugins activated, yet it has a Page Speed Grade of 97% and a page load time of 1.97s. http://gtmetrix.com/reports/efcientwp.com/fujcbeox

Embeds and Other External Requests External requests often slow down your site. They add to the total number of requests, are not cached, and the external servers are often slow to respond. Any images you use should be hosted on your own domain. If you are using multiple analytics services, use Segment.io to combine them into a single request. http://wordpress.org/plugins/segmentio/ If you are displaying share counts, remove the buttons from the social networks that your audience doesn't use. For other embeds and external requests, such as Facebook Like Boxes and YouTube videos, use only what you need.

Other Performance Improvements Remove query strings from static resources. Add this code to your theme's functions.php: function ewp_remove_script_version( $src ){ if ( stripos( $src, '?ver=' ) ) { $parts = explode( '?', $src ); return $parts[0]; } elseif ( stripos( $src, 'ver=' ) ) { $position = strripos( $src, '&' ); return substr( $src, 0, $position ); } else { return $src; } } add_flter( 'script_loader_src', 'ewp_remove_script_version', 15, 1 ); add_flter( 'style_loader_src', 'ewp_remove_script_version', 15, 1 );

Other Performance Improvements Host videos and other large fles ofsite to reduce your server load and bandwidth. Use a CDN (content delivery network) to deliver fles faster. Optimize your database tables. Most backup plugins can do this automatically. Combine JavaScript and CSS fles. Minify JavaScript, CSS, and HTML. Remove unnecessary data in your database (i.e. spam comments and their metadata, tables from plugins you're no longer using). Remove unnecessary fles, such as old backups, from your server.

Questions? Doug Yuen doug@efcientwp.com @Doug_Yuen EfcientWP.com