Website Optimization Tips for Speed



Similar documents
Accelerating Wordpress for Pagerank and Profit

E-commerce is also about

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

Front-End Performance Testing and Optimization

AUDIT REPORT EXAMPLE

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

making drupal run fast

Performance testing Web 2.0

Website Performance: Kyle Simpson

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

Drupal Performance Tuning

WordPress Optimization

Why Web Performance Matters Open Text Web Solutions Usergroup Anwendertagung Feb Tobias Dreyschultze Tobel Online Web Consultancy

WompMobile Technical FAQ

Datasheet - Sitekit CMS Performance Tips

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

Kentico Site Delivery Checklist v1.1

Hacking the WordpressEcosystem

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

Mobile Application Performance Report

A BASELINE FOR WEB PERFORMANCE WITH PHANTOMJS

Web Performance. Sergey Chernyshev. March '09 New York Web Standards Meetup. New York, NY. March 19 th, 2009

A Baseline for Web Performance

CMS Diagnostics Guide

Checking Browser Settings, and Basic System Requirements for QuestionPoint

Magento Performance Optimization Whitepaper

Effects of Web Page Contents on Load Time over the Internet

Checking IE Settings, and Basic System Requirements for QuestionPoint

Simple Tips to Improve Drupal Performance: No Coding Required. By Erik Webb, Senior Technical Consultant, Acquia

Nginx 1 Web Server Implementation

KUB Website Troubleshooting

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

Building a Simple Mobile optimized Web App/Site Using the jquery Mobile Framework

Simply type the id# in the search mechanism of ACS Skills Online to access the learning assets outlined below.

Speed up your web site. Alan Seiden Consulting alanseiden.com

Mobile Performance Management Tools Prasanna Gawade, Infosys April 2014

INFORMATION TECHNOLOGY STANDARD

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

JTouch Mobile Extension for Joomla! User Guide

Improving Magento Front-End Performance

BT BACKGROUND SLIDESHOW JOOMLA EXTENSION User guide Version 2.0

2011 ithemes Media LLC. All rights reserved in all media. May be shared with copyright and credit left intact.!

Flexible Virtuemart 2 Template CleanMart (for VM2.0.x only) TUTORIAL. INSTALLATION CleanMart VM 2 Template (in 3 steps):

Software Development & Education Center PHP 5

Web Application Deployment in the Cloud Using Amazon Web Services From Infancy to Maturity

PageSpeed Insights. (expiration not specified)

(An) Optimal Drupal 7 Module Configuration for Site Performance JOE PRICE

About Todd Bailey (Presenter)

Website and Graphic Design Portfolio

Creating Value through Innovation MAGENTO 1.X TO MAGENTO 2.0 MIGRATION

How to Install WordPress Manually: Securing and De-Bloating WordPress

Content Management System

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

Presentation tier performance optimization

Cache Configuration Reference

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

Magento 1.3: PHP Developer's Guide

Cisco Unified Workforce Optimization

Student ANGEL FAQs. General Issues: System Requirements:

Site Store Pro. INSTALLATION GUIDE WPCartPro Wordpress Plugin Version

Chatbots 3.3. Chatbots in Web Applications with RiveScript. Presented by Noah Petherbridge

Cache All The Things

Bubble Code Review for Magento

HTML5. Turn this page to see Quick Guide of CTTC

1 open source' I community experience distilled. Piwik Web Analytics Essentials. Stephan A. Miller

Installation, Configuration, and Usage

Support Documentation

1 ก Wordpress. ก ก Wordpress 3.X

> GET IT HERE < WhoIsByinvitationonlystep4 WhoIsDirectory Domain Names, Websites, Hosting - User Review --> Click Here

Install MS SQL Server 2012 Express Edition

A comprehensive guide to XML Sitemaps:

HOW TO CREATE THEME IN MAGENTO 2

ultimo theme Update Guide Copyright Infortis All rights reserved

CLASSROOM WEB DESIGNING COURSE

How to Customize the Default Search Form in WordPress

WebIOPi. Installation Walk-through Macros

WordPress Security Scan Configuration

BT CONTENT SHOWCASE. JOOMLA EXTENSION User guide Version 2.1. Copyright 2013 Bowthemes Inc.

Christopher Zavatchen

Facebook Twitter YouTube Google Plus Website . o Zooming and Panning. Panel. 3D commands. o Working with Canvas

Mistral Joomla Template

Digital Downloads Pro

What do we mean by web hosting?

Drupal CMS for marketing sites

Extreme Networks Security Upgrade Guide

Kentico CMS 6.0 Performance Test Report. Kentico CMS 6.0. Performance Test Report February 2012 ANOTHER SUBTITLE

Transcription:

Website Optimization Tips for Speed Sothern California WordPress Meetup Microsoft HQ, Los Angeles - 3/20/2012 Belsien Thomas belsien@wppowerguide.com S

Overview Of Website Optimization

Content Optimizations S A performance study conducted by Yahoo! found that 80% of the end user response time is spent on the front end downloading all components in a web page including images, CSS, JavaScript, Flash files, etc. S The good news is that Content Optimizations are easier to implement as opposed to complex server side changes.

Server Optimizations S These optimizations result in great performance once a page is loaded or primed. S The single most useful optimization is to implement a Content Delivery Network (CDN) S An easy to implement solution is MaxCDN. Amazon S3 or Edgecast are also good CDN s. Hosting providers can have their own integrated CDN where you won t have to maintain anything yourself.

Tools to Figure out your Performance S Yslow (Firefox Extension) - Easy to understand, A-F Grading S Firebug/Chrome Network Panel Full details on Network Activity

Useful Graphs & Statistics to See Make up of your Pages

Optimize Images to Reduce size S Images normally account for over 50% of HTTP Requests and without optimization can easily cause your web page to be over 1MB 2MB causing a very slow load time. S Make sure all your images are web optimized. For designers/developers look for Save for Web & Devices (in Photoshop). Good optimize quality setting is around 65-75%.

Get some Plugins! S WP SMUSH.IT - Automatic Image Optimization

W3 Total Cache Takes care of both Content & Sever Optimizations in 1 plugin! (written by former CTO of Mashable.com) JS/CSS Minification CDN Support Object & Full Page Caching Sets Expire Headers GZIP Compression

Real Word Use Case http://www.giftideasforless.com - My ecommerce Site

Optimization First Pass S Installed WP Smush.it ran the bulk Smush.it option to optimize all currently uploaded images. S Installed W3 Total Cache Plugin S Using Full Page (disk enhanced mode), PHP Object, and Database Caching S Enabled GZIP compression and Expire Header rules. S JS Minification and combination disabled due to conflicts with libraries (jquery library already minified) S Good Performance gains were seen, but images were still loading slow and choppy.

Going Further Theme Code S Look at your Theme code or Network Console of the Firebug/Chrome do you have requests to a file called TimThumb.php or Thumb.php? This script is normally thrown in by theme designers who don t want to go through the hassle of writing image size functions, they simply call TimThumb.php to resize all thumbnails in a theme.

Why is TimThumb bad for Performance? Poor for Performance because: 1. Generated images can t be cached or used with a CDN since images are passed through the php script on each request. 2. Uses up additional PHP resources and Server Side Memory for each request. 3. Worst of all, it is normally setup to load the FULL size image from the WordPress Media Library on every request, not the nearest cropped size. *Also there have been numerous security issues with TimThumb, if it is not patched to the latest version it could allow malicious users to upload content to your site without your knowledge.

A Better Solution S Replace it with the built in WordPress Image Functions. S WordPress automatically generates 3 sizes of images + saves the original image size. These settings are found under Settings -> Media and usually are: S Thumbnail: 150x150 S Medium: 300x300 S Large: 1024x1024 S But you can add custom sizes too

WordPress API - Image functions S Declare any custom image size you want by adding a few simple lines to your themes functions.php file. Tip: If you set custom sizes install the Regenerate Thumbnails plugin to go through and regenerate all uploaded thumbnails with your new sizes. It will preserve the default WordPress images as well if they did not change.

S Now write a simple function using the wp_get_attachment_image() function to output the desired image size. (example should be used within the Loop )

Before/After Metrics

Useful Performance Testing Resources S www.pingdom.com - Easiest to use, run from multiple locations. Comparison site rating can be a bit misleading. S www.gtmetrix.com - Also easy to use, shows Yslow and Google Pagespeed results from offsite. Can be run from Multiple locations as well. S www.webpagetest.org - Most complete and detailed reports and rendering can be run by each browser! Shows a detailed Waterfall view as well as compares 1 st and 2 nd load times for Primed Cache.