Wordpress Horsepower
Ways to speed up Wordpress
I am Ross Johnson
@3pointRoss
SPEED
Should
We Care?
YES
moving on...
5% Still on Dial Up

           Source: http://www.websiteoptimization.com/bw/1008/
Mobile Browsing is
Gaining Popularity
We are less patient
“
53% of DVR subscribers use
their DVR to skip commercials



                           ”
Instant Media is Growing Rapidly...
There is no excuse!
“You could lose up to 33% of
 your visitors if your page took
 more than 4 seconds to load on



                             ”
 a broadband connection.
- Akamai, 2006
“For every 100ms increase
 in load time, sales would



                        ”
 decrease 1%.
- Amazon, 2007
“
Going from 10 to 30 results per
page increased load time by a
mere 0.5 seconds, but resulted



                             ”
in a 20% drop in traffic.
- Google 2006
“
Google is incorporating site
speed as one of the over 200
signals that we use in



                               ”
determining search rankings.
- Matt Cutts, Google 2010
“
...tolerable wait times have
decreased to just two seconds.
- Fui-Hoon, University of Nebraska

                                     ”
“
A 2-second delay resulted in a
3.8% decrease in user


                           ”
satisfaction and 4.3% decrease
in revenue.
- Microsoft Study, 2010
http://www.pearanalytics.com/blog/2009/how-webpage-load-time-related-to-visitor-loss/
Adding Horsepower
AREA 1
YOUR THEME
Improve Theme Coding
ROSS’ CODING TIPS

no table based layout
all semantic HTML
ROSS’ CODING TIPS

use CSS shorthand
margin-top: 10px;
margin-bottom: 20px;
margin-left: 0;
margin-right: 40px;

margin: 10px 40px 20px 0;
ROSS’ CODING TIPS

Javascript at the bottom
</div> <!--/#pagewidth-->

<script type=”text/javascript”>
</script>

</body>
</html>
ROSS’ CODING TIPS

Compress Javascript


             Javascript Compressor
Tools for Optimization
Compress your Javascript
http://javascriptcompressor.com



Clean up your HTML
http://tidy.sourceforge.net



Compress and Clean your CSS
http://www.cleancss.com
http://www.csscompressor.com



Compress your images
http://toki-woki.net/p/Shrink-O-Matic/
Reduce Server Requests
DNS Lookup


Hello Server!
Hello Computer!
Can I have this file?
Here you go!
Often takes longer than
  download the file!
Two at a time
LESS = MORE
Combine Files
CSS Files
Javascript Files
Image Files
  (use sprits)
Combine Your Files
http://wordpress.org/extend/plugins/scripts-gzip
http://halmatferello.com/lab/wp-css/
http://halmatferello.com/lab/wp-js/
http://code.google.com/p/minify/




Use Sprites
http://www.csssprites.com




Share the Wealth
http://code.google.com/apis/libraries
AREA 2
YOUR WORDPRESS
SETUP
Database & Scripting
in order to see this...
Template file(s) with code that
                   needs to be processed




Page is rendered
and displayed
This takes time...
Use Caching
Creates a
      static page




Page is rendered
and displayed
Top Caching Plugins
•WP Super Cache
•Hyper Cache
•DB Cache
•WP Widget Cache
•W3 Total Cache
Content
Delivery
Network
Servers to send files to
the user are selected by

Proximity
Latency
Network
CDN Plugins
My CDN
http://wordpress.org/extend/plugins/my-cdn




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




CDN Tools
http://wordpress.org/extend/plugins/cdn-tools




Free CDN
http://wordpress.org/extend/plugins/free-cdn
CDN Networks
    Amazon CloudFront
•   Akamai
•   CacheFly
•   EdgeCast Networks
•   Internap
•   Level 3 Communications
•   Limelight Networks
Prevent
  Spam
Tactics
Captcha
Recaptcha - http://wordpress.org/extend/plugins/wp-optimize



Plugins
Akismat - http://wordpress.org/extend/plugins/wp-optimize
WP-Spam Free - http://wordpress.org/extend/plugins/wp-optimize



Other
Bad Behavior - http://wordpress.org/extend/plugins/bad-behavior
AREA 3
YOUR HOSTING
Three
Common
Options
Shared

         One server hosts
         many websites
Virtual Private

         You get dedicated
         memory other sites
         can’t use...
Dedicated


      Server is all yours!
Server Tweaks
Compress all
files with GZIP
GZIP TOOLS
GZIP Enable
http://wordpress.org/extend/plugins/gzip-enable/



GZIP Output
http://wordpress.org/extend/plugins/gzip-pages/



Gzippy
http://wordpress.org/extend/plugins/gzippy/
Virtual Domains

css.domain.com

images.domain.com

videos.domain.com
Thank ya!
http://www.37designs.com
http://3.7crea.tv
http://stylizedweb.com
http://workshop.37designs.com
@3PointRoss

Speed Up Wordpress, Wordpress Horsepower