Open lauriebeingdesign opened 1 year ago
Turning the setting for "Watch WP Metadata calls" off in Pods Admin > Settings does resolve this performance issue since the Astra Nav module uses metadata very heavily and can lead to performance degredation.
I'm going to keep this open to work with @lauriebeingdesign so that we can see if there's anything we can do to further optimize Pods for when "Watch WP Metadata calls" is on here.
Description
The load time for pages is close to 15 seconds per page. We have tried everything to lower the load time including adding the pods caching plugin. Our GT Metrics score has gone from 82-96% but we have not seen any notice in speed. Our server said "When loading various pages uncached, I streamed the PHP error logs on my end and I was able to see a slow log entry being generated each time. Checking the call stack of this log entry, it seems that the pods plugin may be doing some backend processing which is causing this major slowdown. To test this fully, I created a cloned sandbox environment, and when deactivating the pods plugin, the uncached page loads went from 15s on average, all the way down to 3-5s on average."
This is one of many sites where we have this issue. The pods caching plug has helped somewhat on other sites, but not this one. We have noticed a significant slow down in the site in the past two weeks. I may be from the newest update.
website: https://heartofthehealer.com
Slow log from our server: script_filename = /www/index.php [0x00007feca5413a10] pods_no_conflict_on() /www/wp-content/plugins/pods/classes/PodsMeta.php:3727 [0x00007feca54137d0] get_meta() /www/wp-content/plugins/pods/classes/PodsMeta.php:2947 [0x00007feca54136e0] get_post_meta() /wordpress/wp-includes/class-wp-hook.php:310 [0x00007feca5413600] apply_filters() /wordpress/wp-includes/plugin.php:205 [0x00007feca54134e0] apply_filters() /wordpress/wp-includes/meta.php:632 [0x00007feca5413400] get_metadata_raw() /wordpress/wp-includes/meta.php:571 [0x00007feca5413350] get_metadata() /wordpress/wp-includes/post.php:2490 [0x00007feca54132c0] get_post_meta() /www/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-ext-nav-menu-loader.php:520 [0x00007feca5413040] get_megamenu_default() /www/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-ext-nav-menu-markup.php:189 [0x00007feca5412fc0] add_custom_fields_meta() /wordpress/wp-includes/class-wp-hook.php:308 [0x00007feca5412ee0] apply_filters() /wordpress/wp-includes/plugin.php:205 [0x00007feca5412e00] apply_filters() /wordpress/wp-includes/nav-menu.php:994 [0x00007feca5412d10] wp_setup_nav_menu_item() /wordpress/wp-includes/nav-menu.php:722 [0x00007feca5412ca0] array_map() /wordpress/wp-includes/nav-menu.php:722 [0x00007feca5412ba0] wp_get_nav_menu_items() /www/wp-content/plugins/astra-addon/addons/nav-menu/classes/class-astra-ext-nav-menu-loader.php:86 [0x00007feca5412aa0] load_scripts() /wordpress/wp-includes/class-wp-hook.php:308 [0x00007feca54129c0] apply_filters() /wordpress/wp-includes/class-wp-hook.php:332 [0x00007feca5412950] do_action() /wordpress/wp-includes/plugin.php:517 [0x00007feca5412870] do_action() /wordpress/wp-includes/script-loader.php:2180 [0x00007feca5412810] wp_enqueue_scripts() /wordpress/wp-includes/class-wp-hook.php:308
Version
2.9.13
Testing Instructions
1) Go to https://heartofthehealer.org/. 2) Notice the load time
Screenshots / Screencast
No response
Possible Workaround
I don't have a work around. If you find one, I'd be happy to know what you come up with!
Site Health Information
Pods Package