• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Nile Flores Media

Helping You Rock Out Your Website Like A Rockstar

  • Home
  • About
  • Blog
  • Portfolio
  • Hire Me
  • Resources
  • Contact
  • Blogging
  • WordPress
  • Social Media
  • SEO
  • Web Design
  • News
  • Podcast
You are here: Home » WordPress » How to Optimize WordPress for Speed: Part 1

How to Optimize WordPress for Speed: Part 1

By Nile Flores 3 Comments


This is a guest post by Jason Capshaw. Jason Capshaw is founder of MyWebTronics, an Atlanta web design firm. He resides in Atlanta with his wife and two children

There are many reasons why you want WordPress to be as fast as possible. The least of which is user experience. Visitors are extremely impatient with slow loading sites. Google has zero’d in on this fact and has now added site speed as one of its 200+ ranking factors.

Reduce data base requests

Use DB Cache to cache data base queries so that the dedicated server does not have to access the MySQL database. Database queries use up a significant portion of server resources. By only performing the database query once for multiple visitors, you free up resources to quickly download the page.

Once the plugin is activated, you will see the following at the bottom of your content if you have wp-footer() in your site:


Generated in 0.730 seconds. Made 23 queries to database and 9 cached queries. Memory used - 19.67MB
Cached by DB Cache

As you can see, it gives you a readout of how many queries were performed and how many were pulled from cache.

Optimizing your MySQL database

If you have ever used Steam for gaming, or defragged a computer hard drive, you are familiar with this concept. Basically, phpMyAdmin gives you the ability to repair corrupted data and optimize tables.

Open your phpMyAdmin panel and navigate to the database structure. Select all of the tables and select ‘Repair tables’.

Repeat the process and this time select ‘optimize’. Your MySQL database will be running at maximum capacity.

Tip: to keep from having to do this manually, you could just create a cron job and do something like this in a php file:


$sql = 'OPTIMIZE TABLE `wp_commentmeta`, `wp_comments`, `wp_links`, `wp_options`, `wp_postmeta`, `wp_posts`, `wp_terms`, `wp_term_relationships`, `wp_term_taxonomy`, `wp_usermeta`, `wp_users`';


mysql_query($sql);

Please stay tuned for Part 2 of How to Optimize WordPress for Speed.


Filed Under: WordPress Tagged With: optimize speed, tips

About Nile Flores

Nile is a 43-year old female from the greater St. Louis (Southern Illinois side) area. Nile is a mother of 1 son. She is also a web designer and developer, a graphic designer, and a public speaker, who exclusively designs and develops using WordPress. She also blogs at GoDaddy's Blog, Verpex Hosting's blog and her very personal sites, Pixelled and Nail Polish Happy.




Related posts:

Default ThumbnailHow to Optimize WordPress for Speed: Part 2

Reader Interactions

Trackbacks

  1. Tweets that mention How to Optimize WordPress for Speed: Part 1 | WP Addict -- Topsy.com says:
    May 10, 2010 at 1:13 am

    […] This post was mentioned on Twitter by Rendy. Rendy said: How to Optimize WordPress for Speed: Part 1 http://bit.ly/cHmrus […]

    Reply
  2. How to Optimize WordPress for Speed: Part 2 | WP Addict says:
    May 10, 2010 at 10:23 pm

    […] This is Part 2 in the series of How to Optimize WordPress for Speed. […]

    Reply
  3. How to Optimize WordPress for Speed: Part 1 | Intenseblog.com says:
    June 5, 2010 at 10:07 pm

    How to Optimize WordPress for Speed: Part 1…

    …s for Speed. Related posts: How to Optimize WordPress for Speed: Part 2; On Installing And Uninstalling Plugins; Two Ways to Retrieve Your WordPress Password….

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow Me On:

  • Facebook
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube

Get The Latest WordPress & Blogging Tips

Sign up for my newsletter, and also get my free ebook on 10 Reasons Why Your Website Isn't Converting, and How to Fix it!




Try to be More Positive on Social Media

Note: You can click on image and view the video in a larger lightbox window.

Footer

The Blog

Lots of free information, tutorials, and more to help you bring your best foot forward with your website.

  • Blogging
  • WordPress
  • Social Media
  • SEO
  • Web Design

Get The Latest WordPress & Blogging Tips

Sign up for my newsletter, and also get my free ebook on 10 Reasons Why Your Website Isn't Converting, and How to Fix it!

Copyright © 2025 · · WordPress