6 Responses to “WordPress Optimization Myth: Saving Database Calls”

This page contains comments from the WordPress Optimization Myth: Saving Database Calls article.

  1. Japh says:

    Nicely done, Stephen! Really appreciate you taking the time to write this up.

    I’ll see if I can’t get the article amended ASAP. We don’t want to be helping perpetuate a myth! :)

  2. Thanks Japh,

    It’s just one of those things that makes sense to people, so it keeps on running. Like I said, I used to believe it wholeheartedly too! But if we can just make people aware of the way it actually works, the world will be just a slightly better place. :)

  3. Ozh says:

    I think constants may be faster or slower than vars, depending on the build & version & a few things

    Anyway, tutplus is probably the most unreliable source about WP. They suck, period :)

    • Hi Ozh,

      Thanks for the comment.

      If you did write about this topic before, let me know and I’ll link to it (I couldn’t find it, but I think you did).

      As for WPTuts+, I rarely read their articles, but when I do they generally have some value (I wouldn’t go as far as saying they suck). :)

      That said, I’m not a fan of the large scale, mass traffic, publishing models which have taken over pretty much all niches, with list posts, regurgitated content and sites such as this taking over from smaller sites run by individuals reporting on the stuff they’ve discovered personally.

      Hmm, nostalgia for the old days…

  4. Bishal says:

    This is really helpful. But say, the function the_permalink is called three times on the index.php file. Would it really reduce the database calls if I assign it to a variable? Please reply.

  5. We are a gaggle of volunteers and starting a brand new scheme in our community.
    Your site provided us with useful information to
    work on. You’ve performed an impressive job and our whole group will be thankful to you.

Leave a Reply

Anti-Spam Quiz:


Stephen Cronin

is Manager of Online Service Delivery at a Queensland Government department & has been a freelance WordPress developer/consultant since 2007
*Content on this site is my own and is not related to my employer

Hire me - I'm expensive, but I'm very good!

WordPress Plugins

Want a Custom WordPress plugin? See my Services page.

Greasemonkey Scripts

Visit my home page at Userscripts.org.