We just launched infocielo.com
As soon as we launched the site went down. Serious performance issues with this Theme.
I´d appreciate any suggestion or tip for DB improvements like:
– Is there any configuration needed to improve Data Base performance with this theme?
Please ignore suggestions about Cache because we already set that up. The big issue now is with the Data Base and the queries of the theme.
For example see this Stack trace with errors.
Name
wp_posts SELECT
Duration
163.94 ms
% of transaction
5.95%
Type
db
Subtype
mysql
Action
query
Database statement
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) WHERE 1=1 AND wp_posts.ID NOT IN (100870) AND ( wp_term_relationships.term_taxonomy_id IN (XXXXXXXX) ) AND wp_posts.post_type = ‘post’ AND ((wp_posts.post_status = ‘publish’)) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 5
Stack trace
class-wpdb.php in wpdb→query at line 3109
class-wp-query.php in wpdb→get_col at line 3357
class-wp-query.php in WP_Query→get_posts at line 3852
class-wp-query.php in WP_Query→query at line 3984
td_data_source.php in WP_Query→__construct at line 1516
td_block.php in td_data_source::get_wp_query at line 337
td_flex_block_4.php in td_block→render at line 2258
td_global_blocks.php in td_flex_block_4→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
tdc_composer_block.php in do_shortcode at line 220
vc_column.php in tdc_composer_block→do_shortcode at line 440
td_global_blocks.php in vc_column→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
tdc_composer_block.php in do_shortcode at line 220
vc_row.php in tdc_composer_block→do_shortcode at line 1187
td_global_blocks.php in vc_row→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
tdc_composer_block.php in do_shortcode at line 220
tdc_zone.php in tdc_composer_block→do_shortcode at line 771
td_global_blocks.php in tdc_zone→render at line 27
shortcodes.php in td_global_blocks::proxy_function at line 434
shortcodes.php in preg_replace_callback at line 273
class-wp-hook.php in do_shortcode at line 326
tdb_view_single.php in apply_filters at line 189
use php 8.2…
limit number of modules per page and in sidebars and footer widgets…
limit random elements, related posts, mega menus…
choose modules with same image sizes to limit number of images…
change default wp image compression to 50…
limit outbound queries like external fonts of social likes…
-
This reply was modified 1 year by
simchris.
Hello,
I just tested your website, and I saw that you have a lot of scrop[tios for ads https://pagespeed.web.dev/analysis/https-infocielo-com/yyghrpqvgb?form_factor=mobile so you need to use a plugin to reduce those requests and optimize them as WP Rocket plugin. You can use the EWWW Image Optimizer for image optimization and the OMGF plugin for fonts.
Also, please use the suggestions provided by @simchris.
Thank you!
These are suggestions for the Frontend loading of the page.
What about the performance of the dynamic queries and the DataBase? How can you guys are planning to improve the MySql queries?
If your theme doesn’t handle media sites with 300k ish articles and images you should notify this in the website.
Please I need feedback about the question I´m doing not something else.
I appreciate the feedback but a suggestion shouldn´t be “publish less content”.
If that is the case then you should warn the people about these limitations, please help
Hello,
We’ve added this cache option on blocks precisely to avoid such issues https://forum.tagdiv.com/use-flex-blocks-cache-option/ . From what I’ve noticed, you’re using this option, but I saw that the Standard Pack plugin is still active, which could also impact performance. So please check if you’re using blocks 1 to 25, Big Grid, the standard template for header, footer, categories, posts, and so on, and replace them with Flex Blocks and Cloud Templates, and disable this plugin. Also, you can use a plugin to optimize the database https://hostadvice.com/how-to/website-builders/wordpress/how-to-optimize-wordpress-database-using-wp-sweep/
Thank you!
Ok, I´m using Flex Block 5, Flex Block 1 and cloud templates.
Issues still happening. Any other advice?
Hi,
Please email us at contact@tagdiv.com to provide wp-admin and cPanel access, and we will take a look.
Thank you!
Thank you Anamaria, I just sent you an email with follow up info, but no response yet. Lets follow up in that email conversation