Duplicate Queries
-
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)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Duplicate Queries’ is closed to new replies.