I’m noticing some things the theme is doing which may be able to be optimized. These are kind of picky, but on an active site with an advanced woocommerce system, anything that can be optimized comes into question. I’m using the plugin Debug Objects to do this research.
1. line 608
option_value = ‘1’ WHERE
option_name = ‘sc_chat_validate_license’
I don’t have the Screets Chat plugin activated, yet the plugin runs this on every admin page load. I suggest only running this on activation.
2. line 3067 & 3044
SELECT option_value FROM wp_options WHERE option_name = ‘etheme_custom_sidebars’ LIMIT 1
Seems normal but gets run twice on every admin page load
3. line 57 & 34
show tables like ‘wp_taxonomymeta’
Not really sure why this would be run twice or at all, but it gets run every admin page load
4. line 69
SELECT * FROM wp_posts WHERE post_type = ‘option-tree’ LIMIT 2
SHOW TABLES LIKE ‘wp_option_tree’
The cleanup doesn’t really need to run every admin page load, does it? Maybe just trigger the check on option-related pages, then do a check once per hour if it’s really necessary to monitor.
Has the above been looked at ? I’m currently in the process of optimizing my site and noticing the sc_chat_validate_license constantly appearing – often taking up to 0.4s .. and screets isn’t even installed on my legenda site! this seems like very poor optimization, especially since you guys have known about this issue.
How do I resolve this ?
ThanksSite URL: hidden Theme version: legenda 3.0.3 WooCommerce version: 2.6.11
Due to GTmetrix results https://gtmetrix.com/reports/bcdirect.co.nz/t1be9cos you need follow their suggestions to increase site loading speed.
These articles should help you:
Caching was all off because I was doing testing… If you look now its as it was..
Back to the original issue though.. Is there a fix?- how can I stop the screets license from being queried in sql repeatedly when its not even installed?
This shows up in Query Monitor under slow queries on pretty much every page(front&backend).. sometimes other queries show up depending on whats rendering, but this one is always there – the time it takes changes alot from 0.01 > 0.9.
Since I’m trying to optimize as much as possible I’d really just like a way to prevent this query on every page – Can I perhaps remove some lines from the files indicated in the OP ? or a snippet to prevent it from running maybe ?
Kind Regards and Merry Christmas!
Happy new year, hope everyone has a great start to it 🙂
Ah no the message is in Query Monitor, which reports on SQL queries being actioned by wordpress.. below are 2 screenshots showing the plugin operating within the context of the site.
The page loads.. queries are reported on up top- accessed by the dropdown menu
Can then click and see details on queries
You must be logged in to reply to this topic.Log in/Sign up
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
The message was successfully sent
Your shopping cart is empty
Seems you did not register purchase code for WooPress WordPress Support Forum to be able to create a topic on this forum.