Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Alison

Duplicate queries in CMS

I’m using Query Monitor on my site and have recently been noticing a lot of duplicate queries related to ACP.
For instance, on the main Plugins page in the CMS, there are 13 calls to the options table, as follows:
4 identical queries re option_name = ‘_acp_access_permissions’
3 identical queries re option_name = ‘acp_activation_key’
3 identical queries re option_name = ‘acp_subscription_details_key’
3 identical queries re option_name = ‘acp_subscription_details’

This doesn’t seem normal to me, and the duplication of queries is one of many factors contributing to slow load times in the CMS, so I’d like to get it cleaned up.

Can you please help me understand why there are so many of these queries and let me know if this is something that you’ll be addressing in a future update? Thanks!

4 months, 2 weeks ago
Stefan van den Dungen Gronovius
Developer

Thanks for your feedback.
You do have a point here, and I believe we should look at this and how we can change this in the future
Normally options are cached, but for some legacy reasons, this does not work in our plugin for some of the options. At least it should not be necessary to fire the duplicate call on the plugins page. I’ll make a ticket for this so we can have another look at it.

4 months, 2 weeks ago
Alison

Thanks, I’ll keep an eye out for an update.

4 months, 1 week ago

You must be logged in to reply to this topic.