HomePage › Forums › Themeforest › Organey – Organic Food WooCommerce WordPress Theme › Very high TTFB
Tagged: performance
- This topic has 8 replies, 2 voices, and was last updated 3 years ago by Supporter.
-
AuthorPosts
-
October 13, 2021 at 8:06 pm #3834Rami ZSupport Expired
So the template looks good but I am facing the below problems:
Time To First Byte
The TTFB is really high (>2000ms). I already have the site running on Cloudflare and installed the Autoptimize, WP-Optimize, WP Smush IT plugins as listed under the documentation.https://leebrosusthemes.gitbook.io/organey/recommendation/optimize-wordpress
Slow Store
The store is super slow too when I try to filter. It takes too much time to load.Sometimes, I also get constant “Error establishing a connection to the database” every now and then. The host is good and running other WP sites like a charm.
Any advice?
- This topic was modified 3 years, 1 month ago by Rami Z.
October 13, 2021 at 10:17 pm #3838Hi you,
Please check your server again, it takes a long time to respond, this may be the cause of your website being slow: https://prnt.sc/1w017qn
October 13, 2021 at 10:30 pm #3839Rami ZSupport ExpiredHello,
Yep, I noticed that the server TTFB is almost 7 seconds despite all the optimization. I run several sites on this server and they run really quick. Could it be that I’m running a WP site on a Windows server that supports PHP?
The server specs are already super good:
8 core / 16 thread
Intel Xeon-D CPU
30 GB RAM
1 TB SSD
Unmetered bandwidthDo you suggest I move to a shared Linux hosting plan?
October 13, 2021 at 11:01 pm #3843Oh, please use Linux hosting, it has better support for PHP or you can choose LiteSpeed Web Server, which is a better support version for WordPress
October 13, 2021 at 11:57 pm #3845Rami ZSupport ExpiredSo you believe the issue is with the Windows server? I’ve hosted several WP sites before but they don’t have this issue. It is the first time I face a TTFB issue but it is the first time I host a WooCommerce site on a dedicated Windows server.
I opened a support ticket with the server admins just to check if the issue is server-related or database-related.
I will test on LightSpeed Web too because they offer Free trials.
October 14, 2021 at 8:32 am #3848Ok, let me know if you need to help.
November 3, 2021 at 5:40 pm #4223Rami ZSupport ExpiredI think I found the issue. I installed a “Query Monitor” plugin and it shows that all pages on the dashboard perform well. However, the front pages display PHP errors and that’s what is probably causing the high TTFB.
Example 1:
Undefined property: WP_Error::$name 1
wp-content/themes/organey/includes/template-functions.php:268
organey_mobile_navigation()
wp-content/themes/organey/includes/template-functions.php:238
organey_mobile_nav()
wp-includes/class-wp-hook.php:303
do_action(‘wp_footer’)
wp-includes/general-template.php:3031
wp_footer()
wp-content/themes/organey/footer.php:23
Organey_Header_Footer_Elementor->override_footer()
wp-includes/class-wp-hook.php:305
do_action(‘get_footer’)
wp-includes/general-template.php:82
get_footer()
wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php:30Example 2:
Attempt to read property “slug” on null 3
wp-includes/taxonomy.php:4510
get_term_link()
wp-content/plugins/woocommerce/includes/walkers/class-wc-product-cat-list-walker.php:105
WC_Product_Cat_List_Walker->start_el()
wp-includes/class-wp-walker.php:144
Walker->display_element()
wp-content/plugins/woocommerce/includes/walkers/class-wc-product-cat-list-walker.php:151
WC_Product_Cat_List_Walker->display_element()
wp-includes/class-wp-walker.php:255
Walker->walk()
wp-includes/category-template.php:1107
walk_category_tree()
wp-includes/category-template.php:650
wp_list_categories()
wp-content/plugins/woocommerce/includes/widgets/class-wc-widget-product-categories.php:294
WC_Widget_Product_Categories->widget()
wp-includes/class-wp-widget.php:393
WP_Widget->display_callback()
wp-includes/widgets.php:831
dynamic_sidebar(‘sidebar-woocommerce-shop’)
wp-content/themes/organey/sidebar.php:25
load_template(‘wp-content/themes/organey/sidebar.php’)
wp-includes/template.php:716
locate_template()
wp-includes/general-template.php:136
get_sidebar(‘shop’)
wp-content/plugins/woocommerce/templates/global/sidebar.php:22
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1039
woocommerce_get_sidebar()
wp-includes/class-wp-hook.php:303
do_action(‘woocommerce_sidebar’)
wp-content/themes/organey/woocommerce/archive-product.php:126Example 3:
Undefined property: WP_Error::$name 1
wp-content/themes/organey/includes/template-functions.php:268
organey_mobile_navigation()
wp-content/themes/organey/includes/template-functions.php:238
organey_mobile_nav()
wp-includes/class-wp-hook.php:303
do_action(‘wp_footer’)
wp-includes/general-template.php:3031
wp_footer()
wp-content/themes/organey/footer.php:23
Organey_Header_Footer_Elementor->override_footer()
wp-includes/class-wp-hook.php:305
do_action(‘get_footer’)
wp-includes/general-template.php:82
get_footer(‘shop’)
wp-content/themes/organey/woocommerce/archive-product.php:131November 3, 2021 at 5:44 pm #4224Rami ZSupport ExpiredAnd I just figured out what was the issue. It was the “Smush” plugin. It was generating API calls and causing a delay of 5+ seconds. I disabled the plugin and the site performs well.
November 3, 2021 at 9:16 pm #42253rd party services will greatly affect the loading speed of the site, so it is necessary to minimize the use of this service.
-
AuthorPosts
You must be logged in to reply to this topic.