Post on 08-May-2015
description
Wordpress Horsepower10 Ways to speed up Wordpress
Who am I?Ross JohnsonCEO & JANITOR OF 3.7 DESIGNS
http://www.twitter.com/3PointRoss
Why?We all have schweet computers and fast interwebs, right?
LESS PATIENT!Yes, we are actually less patient...
http://www.pearanalytics.com/blog/2009/how-webpage-load-time-related-to-visitor-loss/
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
Problems?There are some common problems you are likely to run into...
Code Bloat<div><div><span><div><table><thead><div>
Large MediaOptimize dat shiz!
Database QueriesShall we take MySQL or YourSQL?
Server ProcessingLike food processing, but totally different...
Server CallsHere server, come here boy!
Sh*t ServerSmelly...
Lets UPGRADEVroom Vroom yo!
1. Improve your Coderemove extra <div>’s, no more tables, strip unnecessary CSS, etc...
Compress your Javascripthttp://javascriptcompressor.com
Clean up your HTMLhttp://tidy.sourceforge.net
Compress and Clean your CSShttp://www.cleancss.comhttp://www.csscompressor.com
2. OptimizeOptimize your images...
Shrink O Matic - http://toki-woki.net/p/Shrink-O-Matic/
3. Reduce Server CallsGet off the phone!
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
4. Cache I make it rain...
Top Caching Plugins•WP Super Cache•Hyper Cache•DB Cache•WP Widget Cache•W3 Total Cache
5. CompressI don’t have any good jokes for this one.
GZIP OutputIf your friend!
Force Gzip - http://wordpress.org/extend/plugins/force-gzipWP Compressor - http://wordpress.org/extend/plugins/wpcompressor
6. CDN4 Words... Content Delivery Network, Awesome
Browsers limit number of connections to the same server...
As low as TWO connections
Intelligent delivery...EFFICIENT&
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 Networks • Amazon CloudFront
• Akamai • CacheFly • EdgeCast Networks • Internap • Level 3 Communications • Limelight Networks
7. Server UpgradeWith our power combined, we become...
Shared vs VPS
Dedicated Server
~or~
8. Improve your DatabaseData is in the eye of the beholder...
OptimizationA Clean Database is a Happy Database
WP-Optimize - http://wordpress.org/extend/plugins/wp-optimize
9.htaccess
# BEGIN WordPressRewriteEngine on## Unless you have set a different RewriteBase preceding this# point, you may delete or comment-out the following# RewriteBase directive:RewriteBase /## if this request is for "/" or has already been rewritten to WPRewriteCond $1 ^(index\.php)?$ [OR]# or if request is for image, css, or js fileRewriteCond $1 \.(gif|jpg|css|js|ico)$ [NC,OR]# or if URL resolves to existing fileRewriteCond %{REQUEST_FILENAME} -f [OR]# or if URL resolves to existing directoryRewriteCond %{REQUEST_FILENAME} -d# then skip the rewrite to WPRewriteRule ^(.*)$ - [S=1]# else rewrite the request to WPRewriteRule . /index.php [L]## END wordpress
10. SpamburgerDoes a blogger bad...
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
Thank ya!http://www.37designs.comhttp://3.7crea.tvhttp://stylizedweb.comhttp://workshop.37designs.com@3PointRoss