• Resolved Uriahs Victor

    (@uriahs-victor)


    I’m trying to find the cause for a slow initial load on a website…the load time can sometimes be 10 seconds initially and even after object caching kicks in and it’s cut by half, I still find it to be a bit slow.

    I’m wondering if the duplicate queries have a part to play. When I clicked the option it showed me that Astra was causing some duplicate queries but I don’t know if the time shown in the time column is per call or if it’s a cumulative number of how long it took for all those duplicate queries to ran:

    See this screenshot: https://prnt.sc/6f1EZV-Ayv9W

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

    (@johnbillion)

    WordPress Core Developer

    The “Time” column on that table is the cumulative time for the duplicate queries in that row. So your screenshot is showing 34 duplicate queries from WP_Post::get_instance and the total time is 0.0034 seconds (they’re fast queries because it fetches the result by the primary key). You can click the link on WP_Post::get_instance and it will take you to the Database Queries table filtered by that caller.

    Thread Starter Uriahs Victor

    (@uriahs-victor)

    @johnbillion Thank you for the response

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