Currently, when I load a search or result page, it queries the wp_postmeta
table which is leading to the page taking ages to load. I realise this is a result of this table being huge (70k rows), and because of how much data is loaded into the cache.
Is there a way to stop update_post_caches
from being called when these pages are loaded, and then send custom (and more efficient) queries to the database once the template has been loaded?