Date post: | 08-May-2015 |
Category: |
Technology |
Upload: | ross-johnson |
View: | 2,924 times |
Download: | 4 times |
Wordpress HorsepowerWays 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 1YOUR 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
Compress your Javascripthttp://javascriptcompressor.com
Clean up your HTMLhttp://tidy.sourceforge.net
Compress and Clean your CSShttp://www.cleancss.comhttp://www.csscompressor.com
Compress your imageshttp://toki-woki.net/p/Shrink-O-Matic/
Tools for Optimization
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 Fileshttp://wordpress.org/extend/plugins/scripts-gziphttp://halmatferello.com/lab/wp-css/http://halmatferello.com/lab/wp-js/http://code.google.com/p/minify/
Use Spriteshttp://www.csssprites.com
Share the Wealthhttp://code.google.com/apis/libraries
AREA 2YOUR WORDPRESS SETUP
Database & Scripting
in order to see this...
Template file(s) with code thatneeds to be processed
Page is renderedand displayed
This takes time...
Use Caching
Page is renderedand displayed
Creates astatic page
Top Caching Plugins•WP Super Cache•Hyper Cache•DB Cache•WP Widget Cache•W3 Total Cache
ContentDeliveryNetwork
Servers to send files to the user are selected by
ProximityLatencyNetwork
CDN PluginsMy CDNhttp://wordpress.org/extend/plugins/my-cdn
W3 Total Cachehttp://wordpress.org/extend/plugins/w3-total-cache
CDN Toolshttp://wordpress.org/extend/plugins/cdn-tools
Free CDNhttp://wordpress.org/extend/plugins/free-cdn
CDN NetworksAmazon CloudFront
• Akamai • CacheFly • EdgeCast Networks • Internap • Level 3 Communications • Limelight Networks
PreventSpam
TacticsCaptchaRecaptcha - http://wordpress.org/extend/plugins/wp-optimize
PluginsAkismat - http://wordpress.org/extend/plugins/wp-optimizeWP-Spam Free - http://wordpress.org/extend/plugins/wp-optimize
OtherBad Behavior - http://wordpress.org/extend/plugins/bad-behavior
AREA 3YOUR HOSTING
Three Common Options
Shared
One server hosts many websites
Virtual Private
You get dedicated memory other sitescan’t use...
Dedicated
Server is all yours!
Server Tweaks
Compress all files with GZIP
GZIP Enablehttp://wordpress.org/extend/plugins/gzip-enable/
GZIP Outputhttp://wordpress.org/extend/plugins/gzip-pages/
Gzippyhttp://wordpress.org/extend/plugins/gzippy/
GZIP TOOLS
Virtual Domains
css.domain.com
images.domain.com
videos.domain.com
Thank ya!http://www.37designs.comhttp://3.7crea.tvhttp://stylizedweb.comhttp://workshop.37designs.com@3PointRoss