Woocoomerce generates MANY queries! Is it normal?
-
On my Woocommerce webshop page (https://www.hobbyaruhaz.hu/webaruhaz) Woocommerce plugin generates 592 queries from 656 in total according to Query Monitor. Is it normal?
The main callers of the queries:
get_option() (124 queries)
update_meta_cache() (124 queries)
WP_Post::get_instance() (81 queries)
get_term_by() (60 queries)
WP_Query->get_posts() (15 queries)I have 10.000 products and 410 categories. I also checked the queries on the category back-end page. Woocommerce causes 1191 from 1235 (update_meta_cache() generates 797 of this number!)
I am very very confused because my CPU and physical memory usage can be even 40-70% during a single page load. I have already tried to solve this issue (changing WordPress template, analized the plugins, optimazed images, using cache plugin) but didn’t help.
PS: according to Query Monitor I have only 1 slow query: SELECT option_name, option_value
FROM wp_options
WHERE autoload = ‘yes’I am not a developer so my knowled is limited. What should I do? Thank you very much for your help guys.
- The topic ‘Woocoomerce generates MANY queries! Is it normal?’ is closed to new replies.