Support » Fixing WordPress » Reducing number of queries

  • My homepage currently shows that I am running 45-57 queries. This varies.

    How do I go about reducing the number of queries on my pages?

    My host has started complaining about me loading the server and so am looking to optimize the site in every possible way!

Viewing 9 replies - 1 through 9 (of 9 total)
  • I remember reading somewhere that the “pagination” plugin was quite a resource-eater 🙂 See if the # of queries drops when deactivated.

    Are you talking about Gamerz Page Navigation Plugin?

    I disabled it. Doesn’t show much difference.

    btw, my site is

    It only takes one query. I reduced quite a few plugins.

    Is there some way I can count the number of queries individually??

    The query count is for individual queries.

    Anyway, enable caching. That’ll help a lot. Just create a folder called cache in your wp-content folder and CHMOD it to 777. 🙂

    Viper007Bond, I am currently using WP-Cache. Isn’t it supposed to be better than the inbuilt WordPress Cache?

    Yes, I reduces queries even more, but WP-Cache can have certain issues.

    If you’re already using WP-Cache, then there’s not much more that you can do to cut queries.

    What kind of issues does WP-Cache have?

    my page navi plugin only uses extra 1 query =D

    What kind of issues does WP-Cache have?

    Well, since you are actually caching the output of a script, some plugins don’t like that, such as WP-Poll.

    WP2’s internal caching caches the queries rather than the output. So, rather than going to the db to get an option value or the contents of a post/page, they’re pulled from the cache.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Reducing number of queries’ is closed to new replies.