Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
21 Ways to Make WordPress Fast
Who am I?Jason McCrearyhttp://jason.pureconcepts.netjason@pureconcepts.net@gonedark• Web and iOS Application Developer• Lo...
“I hate slow sites. I hate them. I hate slowsites even more than I like fast sites. Andthere’s a difference…”
Yes, WordPress is slow.
But you can make WordPress fast!
But first, weight…
#1 Valid Code
#2 Permalink Settings
#3 Use Less Plugins
#4 Reading Settings
#5 Move CSS to the top,JavaScript to the bottom
#6 Use CSS Image Sprites
.nav-logo-large #nav-logo {    background-image: url(https://cdn.amazon.com/images/BeaconSprite-US-01.png);    background-...
#7 Compression
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-...
#8 Minification
#9 Content Delivery Networks
#10 Multiple/Static Domains
#11 Sharing Widgets
#12 Comments and Gravatar
#13 Resource Caching
Header unset ETagFileETag NoneExpiresActive OnExpiresByType image/gif "access plus 6 months"ExpiresByType image/jpeg "acce...
#14 WordPress Caching
#15 PHP Caching
#16 Database Caching
#17 Database Optimizations
#18 Extra Data
#19 Redirects
#20 Apache Optimizations
RewriteRule ^index.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.ph...
FallbackResource /index.php
#21 Hosting
Tools and Resources• Firebug with YSlow!• siege and ab• www.wpspeedometer.com• Yahoo! Performance Rules• Google PageSpeed•...
“Sometimes you have to work with what you have.”
Ask Questions!
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
21 Ways to Make WordPress Fast
Upcoming SlideShare
Loading in …5
×

21 Ways to Make WordPress Fast

2,706 views

Published on

Slides from the talk given at WordCamp Chicago 2012. These slides have since been updated. Please review - http://www.slideshare.net/mccreaja/21-ways-to-make-wordpress-fast

Published in: Technology, Business
  • Be the first to comment

21 Ways to Make WordPress Fast

  1. 1. 21 Ways to Make WordPress Fast
  2. 2. Who am I?Jason McCrearyhttp://jason.pureconcepts.netjason@pureconcepts.net@gonedark• Web and iOS Application Developer• Louisville, KY• Web Developer since 1999• PHP since version 3• Active StackOverflow member• Push WordPress as Development Platform• Founder of LouPUG
  3. 3. “I hate slow sites. I hate them. I hate slowsites even more than I like fast sites. Andthere’s a difference…”
  4. 4. Yes, WordPress is slow.
  5. 5. But you can make WordPress fast!
  6. 6. But first, weight…
  7. 7. #1 Valid Code
  8. 8. #2 Permalink Settings
  9. 9. #3 Use Less Plugins
  10. 10. #4 Reading Settings
  11. 11. #5 Move CSS to the top,JavaScript to the bottom
  12. 12. #6 Use CSS Image Sprites
  13. 13. .nav-logo-large #nav-logo { background-image: url(https://cdn.amazon.com/images/BeaconSprite-US-01.png);    background-position: -119px -9px;    height: 35px;    width: 111px;}
  14. 14. #7 Compression
  15. 15. AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript
  16. 16. #8 Minification
  17. 17. #9 Content Delivery Networks
  18. 18. #10 Multiple/Static Domains
  19. 19. #11 Sharing Widgets
  20. 20. #12 Comments and Gravatar
  21. 21. #13 Resource Caching
  22. 22. Header unset ETagFileETag NoneExpiresActive OnExpiresByType image/gif "access plus 6 months"ExpiresByType image/jpeg "access plus 6 months"ExpiresByType image/png "access plus 6 months"ExpiresByType text/css "access plus 6 months"ExpiresByType text/javascript "access plus 6 months"
  23. 23. #14 WordPress Caching
  24. 24. #15 PHP Caching
  25. 25. #16 Database Caching
  26. 26. #17 Database Optimizations
  27. 27. #18 Extra Data
  28. 28. #19 Redirects
  29. 29. #20 Apache Optimizations
  30. 30. RewriteRule ^index.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]
  31. 31. FallbackResource /index.php
  32. 32. #21 Hosting
  33. 33. Tools and Resources• Firebug with YSlow!• siege and ab• www.wpspeedometer.com• Yahoo! Performance Rules• Google PageSpeed• High Performance Web Sites / Even Faster Web Sites
  34. 34. “Sometimes you have to work with what you have.”
  35. 35. Ask Questions!

×