• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Optimizing WordPress (WordCamp Philly 2011)
 

Optimizing WordPress (WordCamp Philly 2011)

on

  • 2,523 views

Deck I gave on Optimizing WordPress at WordCamp Philly. These are a combination of my own personal experience and things we automatically do for client accounts at WP Engine....

Deck I gave on Optimizing WordPress at WordCamp Philly. These are a combination of my own personal experience and things we automatically do for client accounts at WP Engine.

Given the wide range in technical ability of the audience, these slides should provide an overview of subjects for optimization but you'll need to investigate the subjects individually.

Statistics

Views

Total Views
2,523
Views on SlideShare
2,521
Embed Views
2

Actions

Likes
6
Downloads
32
Comments
0

2 Embeds 2

http://zootool.com 1
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

Optimizing WordPress (WordCamp Philly 2011) Optimizing WordPress (WordCamp Philly 2011) Presentation Transcript

  • WordPressOptimization WordPress Optmization ben metcalfe | WP Engine @dotBen | ben@wpengine.com WordCampPhilly 20011WP
  • WordPressOptimization Why? • Um, why not? • Keep readers/customers happy! • Stay up under heavy load • Save $$$WP
  • WordPressOptimization Level 1 Let‟s get the basics out the way :)WP
  • WordPressOptimization Keep WP up to date Why wouldn‟t you?WP
  • WordPressOptimization Caching plugins FTW!! W3-Total-Cache also: WPSuperCache, BatCacheWP
  • WordPressOptimization Deactivate unused plugins + delete plugins you don‟t use at allWP
  • WordPressOptimization Avoid bad plugins Include (but not limited to) • backupwordpress • backwpup • broken-link-checker • dynamic-related-posts • file-commander • google-sitemap-generator • LinkMan (MyReviewPlugin Link Man) • MyRP (MyReviewPlugin) • wp-symposium-alertsWP
  • WordPressOptimization Review your theme HTML • does it validate? • CSS at the top, JS at the bottom (not inline) PHP • Any weird code (if it looks bad, it probably is) • file_get_contents() / fgets()WP
  • WordPressOptimization Is your host slow?WP
  • WordPressOptimization Level 2WP
  • WordPressOptimization Offloading (poor-mans CDN) Serve images via Flickr/etcWP
  • WordPressOptimization Feedburn your RSS feed How many requests to your blog are /feed?WP
  • WordPressOptimization Repair your MySQL DB Sometimes you need to tidy your room :) PHPMyAdmin, OptimizeDB, manuallyWP
  • WordPressOptimization Load from multiple sub- domains good: foo1.yourdomain.com, foo2.yourdomain.com better: foo1.otherdomain.com, foo2.otheromain2.comWP
  • WordPressOptimization Browser Caching HTTP Cache-Control Expires headers Entity Tags (W3-Total-Cache, WPSuperCache)WP
  • WordPressOptimization Level 3 Mostly assumes SSH accessWP
  • WordPressOptimization Log slow MySQL queries Good HOWTO: http://hackmysql.com/nontechWP
  • WordPressOptimization Check site with Profile Tools WP-Tuner WPDB Profiling http://speed.wpengine.com YSlowWP
  • WordPressOptimization CDN MaxCDN (used @ WP Engine), Amazon CloudFront CloudFlare Use all the time or just „emergencies‟WP
  • WordPressOptimization „Smush‟ your images WPSmush.it pluginWP
  • WordPressOptimization APC/ opcode cache php-apc + W3-Total-CacheWP
  • WordPressOptimization Apache optimizations Disable .htaccess, use httpd.confWP
  • WordPressOptimization Dedicated MySQLDB BoxWP
  • WordPressOptimization Level 4 Hitting the big timeWP
  • WordPressOptimization Reverse-proxy with nginx Run Apache on port 8080 Cache statics (good HOWTO on wp-performance.com)WP
  • WordPressOptimization Varnish cache Ideally don‟t run Varnish on port 80, Avoid cookie issuesWP
  • WordPressOptimization Memcache Ideally run Memcache on separate box Use same datacenter, ideally same subnetWP
  • WordPressOptimization HyperDB Multiple database serversWP
  • WordPressOptimization Boss LevelWP
  • WordPressOptimization Static site on Amazon S3 “Movable Type” Model 100% Static siteWP
  • WordPressOptimization #FailsWP
  • WordPressOptimization DON‟T edit core files! No matter what “performance” benefit you think it will make!WP
  • WordPressOptimization Amazon EC2 … isn‟t a silver bulletWP
  • WordPressOptimization Q&AWP