Support » Plugin: Query Monitor » Do “queries” slow down websites’ loading times?

  • Resolved lucio7

    (@lucio7)


    Hey guys,

    I’m trying to trim down and speed up my website, and your plugin seems like a Godsent.

    The page “queries” offers truly great insights.
    What I’m not sure of is if those queries just happen in the background, independently of website loading speed, or if they do impact loading speeds for the website visitors and users.

    If they do, deactivating the slowest plugins should improve website speed, am I right?

    Thanks!

    2020-11-17_08-09-27

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Yes that’s correct. Everything that QM shows you is a process which happens during the page load and will affect the page generation time.

    That page has a high number of queries (168) but the overall query time is low (0.0423 seconds) so the database is performing well. What QM cannot show you is the PHP processing time associated with those queries, for example if a plugin selects data from the database and then iterates it and processes it.

    An object cache and a corresponding plugin (such as Redis or Memcached) should help reduce those queries. You can check if one is already installed from the Object Cache section on the Overview tab.

    Note that the data that QM shows you is for the server side performance. A page generation time of 0.33 seconds is not great but also not terrible. If your website still loads “slow” you should run a Google Lighthouse or PageSpeed check on it.

    lucio7

    (@lucio7)

    Thank you so much, John!

    And thank you for your great work, a real added-value to thousands of people!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.