• Resolved Anonymous User 18721493

    (@anonymized-18721493)


    Hello there!

    Inspecting my website, I found that the plugin generates a lot of duplicate queries to the database. See here the screenshot: https://snipboard.io/krxzjD.jpg

    They are fast, and I do not believe that it impacts a lot on the front-end speed, as this page is cached when served to the users, but I think it can cause an overload on the database. Is there something to do to reduce these queries, or to optimize them?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Paul Bearne

    (@pbearne)

    Thank you for this report

    I will have look and see how I can remove these

    Paul

    Plugin Author Paul Bearne

    (@pbearne)

    Hi,

    Can you provide the shortcode you are using so I can debug?

    Paul

    Thread Starter Anonymous User 18721493

    (@anonymized-18721493)

    Hi, Paul!

    Here it is:

    [authoravatars avatar_size=200 order=recent_post_activity,desc hiddenusers=2,4,5,6,7,8,9,16,18,22,23,24,26,27,28,29,43,44,66,67,76,82,90,92,93,97,109,110,132 limit=6 roles=author show_name=true]

    • This reply was modified 11 months ago by Anonymous User 18721493.
    Plugin Author Paul Bearne

    (@pbearne)

    Hi

    I think I have fixed this just released new version

    I could test, as I don’t have the posts to test with
    It was the last post sort

    Please test and let know if I got it right

    Paul

    Thread Starter Anonymous User 18721493

    (@anonymized-18721493)

    Fantastic job! Just updated the plugin, and all the duplicated queries have gone away.

    Within my installation, the plugin does around 300 queries, in ~0.1s, and none of them are duplicated.

    Thanks for the fast response and even faster fix, Paul!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A lot of duplicated queries’ is closed to new replies.