Tagged: Increased cpu usage
The issue is that the theme queries all the meta keys from the postmeta table every time this function is called. This can cause significant slowdown on websites with a large number of posts or custom fields. This problem has resulted in increased CPU usage in version 6.0. Is there anything we can do to address this issue?
Hey Rafael,
Thank you for the inquiry.
This function, which is related to the dynamic content feature, is only called in the backend when the Advanced Layout Builder is initialized or when the builder elements are edited. The function doesn’t affect the frontend in any way.
Best regards,
Ismael
The function is called in the frontend as well in 6.0.
See this related topic here:
Hi,
Thank you for the info.
We don’t get the same result on our end using one of the theme demo (see screenshot below). However, looks like this is going to be patched on version 6.0.1 according to @Guenter.
Query Monitor: https://1drv.ms/i/s!AjjTfXSRbKTvguMUSEUNg-tBr4-UKg?e=rjGqkO
Best regards,
Ismael