Closed v1lle1 closed 2 years ago
I don't think that apply_builder_in_content
will load the editor part.
Try a caching plugin and serve static pages, combine css/js files and lazy load your images. You serve around 5mb at startup and 205 requests. I'm sure that will already boost your stats alot
Hi! Thanks for your reply. We are using Seravo as hosting provider (https://seravo.com/en/) and cache is handled by them. They have researched this issue a lot with Tideways (https://tideways.com/) and they see that only this one row is loading. So the problem is not about minor optimization things, they can see clearly that is just 1 Elementor hook that is loading.
ok interesting, thanks for the info/links. Don't know both of them, I've just looked at the PageSpeed Insights and the gtmetrix score. The function just renders the page content so it will load the images and things. And since you have a very big DOM (yes, Elementor) with many big images it will take a while. Maybe that is why they find that function to be the issue.
But they have the data so I'm curious if you'll get some other reply here with more data!
Side note: Just can say that I have some 91 (mobile)/ 99 (desktop) scores on a cheap 1€ ionos VPS server with Elementor (Astra Theme, WP Super Cache, Auto Optimze, less content/images) no special WP hosting stuff. So its not always Elementor 😄
Hi @v1lle1 ,
This code you mentioned loads only the content that was built with Elementor, it doesn't load on regular pages that where not built with Elementor. In addition, this code doesn't load the Editor as we are in the frontend.
Whether it takes a few seconds to load, it depends on the complexity of the page, the number of Elements, the theme functionality, the number of Elementor addons, the number of other WordPress plugins on the site, etc. There are many factors that can increase your loading time.
You need to optimize your site performance. Especially if you use WooCommerce - this plugin use a lot of server resources.
In any case, it's not an Elementor bug. When filing an Elementor bug report, you need to provide steps to reproduce the bug so that we can recreate the bug in other environments to understand how to fix it for all Elementor sites.
In your case it's a very specific use case that require either a professional developer that knows how to optimize performance or to rebuild the page with performance in mind.
@rami-elementor thanks for the clarification about the function. I guess you should tell the Seravo people that they shouldn't tell clients that its loading the editor with that function :smile:
Prerequisites
Description
Hello!
Elementor tier 3 support asked me to write to you about this problem:
Our hosting provider has done some research about this problem. They said that Elementor is calling elementor-builder even for users who have not logged in. They can even see the row in code which makes the site super slow.
Is this something that you can help us with? We had these problems for many months now and this has cost a lot of money to figure out. Can you please tell how we can fix this or where we can see more info about elementor loading page-builder for every user?
How we can fix this, or is there anything we can do?
Thanks!
Steps to reproduce
This is loading multiple seconds everytime we load site:
Elementor\Frontend->apply_builder_in_content() in file elementor/includes/frontend.php in row 995
Isolating the problem
System Info
== Server Environment == Operating System: Linux Software: nginx/1.18.0 MySQL version: mariadb.org binary distribution v10.5.15 PHP Version: 8.0.20 PHP Memory Limit: 256M PHP Max Input Vars: 5000 PHP Max Post Size: 128M GD Installed: Yes ZIP Installed: Yes Write Permissions: All right Elementor Library: Connected
== WordPress Environment == Version: 5.9.3 Site URL: https://www.hermandia.com Home URL: https://www.hermandia.com WP Multisite: No Max Upload Size: 128 Mt Memory limit: 512M Max Memory limit: 256M Permalink Structure: /%postname%/ Language: fi Timezone: Europe/Helsinki Admin Email: ville@villelintula.fi Debug Mode: Inactive
== Theme == Name: Hello Elementor Child Version: 1.0.1 Author: Elementor Team Child Theme: Yes Parent Theme Name: Hello Elementor Parent Theme Version: 2.6.1 Parent Theme Author: Elementor Team
== User == Role: administrator WP Profile lang: fi User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
== Active Plugins == All-in-One WP Migration Version: 7.62 Author: ServMask
== Must-Use Plugins == Bedrock Autoloader Version: 1.0.3 Author: Roots
== Elements Usage ==
== Elementor Experiments == Optimoitu DOM-tulostus: Ei-aktiivinen oletuksena Parannettu resurssien lataus: Ei-aktiivinen oletuksena Improved CSS Loading: Ei-aktiivinen oletuksena Inline Font Icons: Ei-aktiivinen oletuksena Saatavuuden parannukset: Ei-aktiivinen oletuksena Import Export Template Kit: Aktiivinen oletuksena Additional Custom Breakpoints: Ei-aktiivinen Hide native WordPress widgets from search results: Aktiivinen oletuksena : Ei-aktiivinen oletuksena Flexbox Container: Ei-aktiivinen oletuksena Default to New Theme Builder: Aktiivinen oletuksena Hello Theme Header & Footer: Ei-aktiivinen oletuksena Myyntisivut: Aktiivinen oletuksena Color Sampler: Aktiivinen oletuksena Favorite Widgets: Aktiivinen oletuksena Admin Top Bar: Aktiivinen oletuksena Page Transitions: Aktiivinen oletuksena Notes: Aktiivinen oletuksena Form Submissions: Aktiivinen oletuksena Scroll Snap: Aktiivinen oletuksena
== Log ==
Log: showing 20 of 222022-05-04 09:06:16 [info] elementor::elementor_updater Started 2022-05-04 09:06:16 [info] Elementor/Upgrades - _on_each_version Start
2022-05-04 09:06:16 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.6.4', 'to' => '3.6.5', )] 2022-05-04 09:06:19 [info] Elementor/Upgrades - _on_each_version Finished 2022-05-04 09:06:19 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.6.4', 'to' => '3.6.5', )] 2022-05-12 08:05:08 [info] elementor-pro::elementor_pro_updater Started 2022-05-12 08:05:08 [info] Elementor Pro/Upgrades - _on_each_version Start
2022-05-12 08:05:08 [info] Elementor Pro/Upgrades - _on_each_version Finished 2022-05-12 08:05:08 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '3.6.4', 'to' => '3.7.0', )] 2022-05-22 06:31:39 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor Pro', 'from' => '3.7.0', 'to' => '3.7.1', )] 2022-05-22 06:31:39 [info] elementor-pro::elementor_pro_updater Started 2022-05-22 06:31:39 [info] Elementor Pro/Upgrades - _on_each_version Start
2022-05-22 06:31:40 [info] Elementor Pro/Upgrades - _on_each_version Finished 2022-05-22 06:31:40 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor Pro', 'from' => '3.7.0', 'to' => '3.7.1', )] 2022-05-22 06:31:41 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor Pro', 'from' => '3.7.0', 'to' => '3.7.1', )] 2022-07-12 11:36:40 [info] elementor::elementor_updater Started 2022-07-12 11:36:40 [info] Elementor/Upgrades - _on_each_version Start
2022-07-12 11:36:40 [info] Elementor data updater process has been queued. [array ( 'plugin' => 'Elementor', 'from' => '3.6.5', 'to' => '3.6.7', )] 2022-07-12 11:36:43 [info] Elementor/Upgrades - _on_each_version Finished 2022-07-12 11:36:43 [info] Elementor data updater process has been completed. [array ( 'plugin' => 'Elementor', 'from' => '3.6.5', 'to' => '3.6.7', )]
PHP: showing 18 of 18PHP: 2022-04-18 22:41:42 [notice X 14][/data/wordpress/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined index: data [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> shutdown()
', )] PHP: 2022-04-20 14:20:39 [warning X 2][/data/wordpress/htdocs/wp-content/plugins/elementor/core/common/modules/ajax/module.php::171] Undefined array key "data" [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> shutdown()
', )] PHP: 2022-04-22 18:16:58 [warning X 7][/data/wordpress/htdocs/wp-content/plugins/elementor/core/experiments/experiments-reporter.php::89] Undefined array key "title" [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> shutdown()
', )] PHP: 2022-05-12 15:10:25 [error X 2][/data/wordpress/htdocs/wp-content/plugins/elementor-pro/modules/notes/usage.php::161] Uncaught Error: Call to a member function format() on null in /data/wordpress/htdocs/wp-content/plugins/elementor-pro/modules/notes/usage.php:161 Stack trace:
0 /data/wordpress/htdocs/wp-content/plugins/elementor-pro/modules/notes/usage.php(43): ElementorPro\Modules\Notes\Usage->get_first_interaction()
1 /data/wordpress/htdocs/wp-content/plugins/elementor-pro/modules/notes/usage.php(27): ElementorPro\Modules\Notes\Usage->get_usage_data()
2 /data/wordpress/htdocs/wordpress/wp-includes/class-wp-hook.php(307): ElementorPro\Modules\Notes\Usage->ElementorPro\Modules\Notes{closure}(Array)
3 /data/wordpress/htdocs/wordpress/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
4 /data/wordpress/htdocs/wp-content/plugins/elementor/includes/tracker.php(563): apply_filters('elementor/track...', Array)
5 /data/wordpress/htdocs/wp-content/plugins/elementor/includes/tracker.php(141): Elementor\Tracker::get_tracking_data(false)
6 /data/wordpress/htdocs/wordpress/wp-includes/class-wp-hook.php(307): Elementor\Tracker::send_tracking_data()
7 /data/wordpress/htdocs/wordpress/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
8 /data/wordpress/htdocs/wordpress/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
9 /data/wordpress/htdocs/wordpress/wp-cron.php(138): do_action_ref_array('elementor/track...', Array)
10 {main}
thrown [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> shutdown()
', )] PHP: 2022-05-13 14:36:39 [notice X 111][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/class-jet-elements-integration.php(247): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-05-13 14:36:39 [notice X 111][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/class-jet-elements-integration.php(285): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-05-13 14:36:39 [notice X 111][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/modules/jet-elementor-extension/jet-elementor-extension.php(95): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-05-13 14:36:39 [notice X 111][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/modules/jet-elementor-extension/jet-elementor-extension.php(96): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-05-13 14:36:39 [notice X 112][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/shopengine/core/elementor-controls/init.php(38): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-05-13 14:36:39 [notice X 112][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/shopengine/core/elementor-controls/init.php(42): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-05-22 06:31:49 [notice X 114596][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] The $control_id argument is deprecated since version 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> shutdown()
', )] PHP: 2022-05-22 06:40:41 [notice X 7780][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> shutdown()
', )] PHP: 2022-06-16 20:02:13 [notice X 9][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/class-jet-elements-integration.php(247): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-06-16 20:02:13 [notice X 9][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/class-jet-elements-integration.php(285): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-06-16 20:02:13 [notice X 9][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/modules/jet-elementor-extension/jet-elementor-extension.php(95): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-06-16 20:02:13 [notice X 9][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/jet-elements/includes/modules/jet-elementor-extension/jet-elementor-extension.php(96): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-06-16 20:02:13 [notice X 9][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/shopengine/core/elementor-controls/init.php(38): Elementor\Controls_Manager -> register_control()
', )] PHP: 2022-06-16 20:02:13 [notice X 9][/data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php::301] L'argomento $control_id è deprecato dalla versione 3.5.0! [array ( 'trace' => '
0: Elementor\Core\Logger\Manager -> rest_error_handler()
1: /data/wordpress/htdocs/wp-content/plugins/elementor/modules/dev-tools/deprecation.php(301): class type trigger_error()
2: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(523): Elementor\Modules\DevTools\Deprecation -> deprecated_argument()
3: /data/wordpress/htdocs/wp-content/plugins/elementor/includes/managers/controls.php(501): Elementor\Controls_Manager -> register()
4: /data/wordpress/htdocs/wp-content/plugins/shopengine/core/elementor-controls/init.php(42): Elementor\Controls_Manager -> register_control()
', )]
JS: showing 2 of 2JS: 2022-05-13 11:37:05 [error X 4][https://www.hermandia.com/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5.e1:24:19952] View (cid: \"view1044\") has already been destroyed and cannot be used. JS: 2022-05-13 11:37:06 [error X 1][https://www.hermandia.com/wp-content/plugins/elementor/assets/lib/backbone/backbone.marionette.min.js?ver=2.4.5.e1:24:19952] View (cid: \"view1070\") has already been destroyed and cannot be used.
== Elementor - Compatibility Tag ==
== Elementor Pro - Compatibility Tag ==