• Resolved MisterHunter

    (@misterhunter)


    Hey there,

    If you install the query monitor plugin and inspect the duplicate queries on the site you will notice that your plugin duplicates the same query anywhere from 40-90 times on a single page load in my testing.

    The function that keeps getting repeated is: nmgr_get_user_default_wishlist_id()

    And the functions which keep referencing it are:
    nmgr_get_wishlist()
    NMGR_Templates::set_global_variable()

    I would recommend looking into transients or storing the value globally so the site doesn’t need to repeat the same query (which will help to speed up the site).

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter MisterHunter

    (@misterhunter)

    Also, can we import a registry into wish list using excel or csv format?

    Plugin Author nmerii

    (@nmerii)

    Thanks for the suggestion. I would look into it.
    Can you explain what you mean by import a registry into wishlist using excel?

    Thread Starter MisterHunter

    (@misterhunter)

    Thank you.

    I mean using a CSV file (which can be created in Excel) to create wishlists or add products to existing wishlists.

    Thanks.

    Plugin Author nmerii

    (@nmerii)

    I would look into the feasibility of this.

    Thread Starter MisterHunter

    (@misterhunter)

    Any updates on reducing the duplicate queries issue? Some page loads result in over 120 of the exact same database queries which slows the site down.

    Plugin Author nmerii

    (@nmerii)

    I’ve fixed the duplicate queries issue. Are you using the latest version of my plugin? Please let me know which page load results in over 120 of the same database query.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Duplicate Queries’ is closed to new replies.