My theme calls the update_meta_cache() operate 58 occasions per web page! This operate seems to run the next question primarily based on the publish in query:
SELECT post_id, meta_key, meta_value
-> FROM wp_postmeta
-> WHERE post_id IN (81649)
-> ORDER BY meta_id ASC
-> ;
The overwhelming majority of the meta_keys (and corresponding values) returned should not mandatory for the web page in query (e.g. yoast_wpseo_title, _edit_last, _edit_lock should not wanted for the homepage loop).
Is there a approach to cut back or stop calling of the update_meta_cache? Maybe a approach to embody in a operate on the pre_get_posts hook?