Support » Plugin: Query Monitor » How many queries should I expect?

  • Sascha

    (@saschaehgmailcom)


    Hi there,

    Great plugin thank you!

    My site is getting about 250 to 400 queries per page from ecom site.

    I am just wondering what a normal level was and what I should work towards? I am getting mixed messages online.

    Many thanks,
    Sascha

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello Sascha,

    I doubt this is the right place to ask for this kind of support, but I’ll give my opinion on this.

    If you are using WooCommerce, and you have plenty of products with somewhat a lot of attributes/variations, then 250-400 queries are somewhat alright, but 400 is on the higher side.

    You can show less information on product archives, if by “per page” you have in mind product archive pages or a single product page.

    Another way to reduce queries is to show fewer products per page.

    If you know the code, and you use custom fields for certain parts of your website that repeat on every page (say social links on the footer or header), you could use transients.

    Using some sort of caching helps a lot for dynamic stores, so even if you would have a higher number of queries when logged in as admin, visitors on the frontend would be using static pages, which would be fast, and would take the load of the server.

    A few suggestions, but it always comes down to what theme you use and how well it’s coded, as well as amount of plugins (number might not matter, but if there are a few plugins that do things on each page, that they shouldn’t do, it adds up, and the more plugins you have, the bigger the chance is of that being a case here).

    Sascha

    (@saschaehgmailcom)

    Hi,

    Thank you for the reply. Yes I have taken all the measures and have reduced from 700 to 900 down to current levels.

    A trusted friend told me that even the current level of 200 to 400 is way to high. He is probably right but hard to achieve with an open source platform like wordpress, woo, plugins etc… unless you start to really tweaking with the code which I cant.

    Its good to know – thank you again!

    Sascha

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How many queries should I expect?’ is closed to new replies.