Good Morning. My hosting provider, we would highly recommend bringing these logs onto your TD Composer plugins support to see if they could provide any fixes regarding these aspects or not.
Most of the slow logs in the server point to these:
10-Oct-2020 03:43:04] script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2033; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:1922; query() /var/web/site/public_html/wp-includes/wp-db.php:2673; get_results() /var/web/site/public_html/wp-includes/meta.php:1061; update_meta_cache() /var/web/site/public_html/wp-includes/meta.php:576; get_metadata_raw() /var/web/site/public_html/wp-includes/meta.php:506; get_metadata() /var/web/site/public_html/wp-includes/post.php:2126; get_post_meta() /var/web/site/public_html/wp-includes/post.php:499; get_attached_file() /var/web/site/public_html/wp-includes/post.php:6221; wp_attachment_is() /var/web/site/public_html/wp-includes/post.php:6272; wp_attachment_is_image() /var/web/site/public_html/wp-includes/media.php:193; image_downsize() /var/web/site/public_html/wp-includes/media.php:955; wp_get_attachment_image_src() /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_module.php:287; get_image() /var/web/site/public_html/wp-content/plugins/td-composer/legacy/Newspaper/includes/modules/td_module_flex_1.php:42; render() /var/web/site/public_html/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php:1461; inner() /var/web/site/public_html/wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php:1441; render() /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_global_blocks.php:27; proxy_function() /var/web/site/public_html/wp-includes/shortcodes.php:343; do_shortcode_tag() /var/web/site/public_html/wp-includes/shortcodes.php:218; preg_replace_callback() /var/web/site/public_html/wp-includes/shortcodes.php:218
script_filename = /var/web/site/public_html/index.php; mysqli_query() /var/web/site/public_html/wp-includes/wp-db.php:2033; _do_query() /var/web/site/public_html/wp-includes/wp-db.php:1922; query() /var/web/site/public_html/wp-includes/wp-db.php:2338; update() /var/web/site/public_html/wp-includes/meta.php:271; update_metadata() /var/web/site/public_html/wp-includes/post.php:2158; update_post_meta() /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_page_views.php:37; update_page_views() /var/web/site/public_html/wp-content/plugins/td-cloud-library/wp_templates/tdb_view_single.php:82
So maybe you could share these slow logs to your plugin support and see if they could help with improving these within the plugin side or not. If its a known use case with their plugin, they might also have fixes for this.
Hi,
If I understand correctly these are some slow queries that find your host? I pass these to our developers team and they will check it and see what can be done for this.
For the moment the only solution is to use our guides for website optimization -> https://forum.tagdiv.com/topic/optimize-script-to-improve-site-speed/ -> https://www.infophilic.com/get-almost-100-pagespeed-newspaper-theme/
– https://forum.tagdiv.com/topic/a-few-tips-for-newspaper-x-speed-high-cpu-usage-issues/
– https://tagdiv.com/how-to-increase-page-loading-speed/
Thank you!