Home Forums ACF PRO Performance Issues with WP-Query and "acf-private"


Performance Issues with WP-Query and "acf-private"

  • i have a website with round about 20.000 posts and A LOT of meta field values.
    i use ACF on the homepage only. Not on any other page.
    But in each wp_query there is additional code injected by acf:

    how can i disable that behavior?

    with acf enabled i get these “query monitor” results:

    with acf disabled i have these results:

    as you can see it highly affects my memory and cpu usage.

  • i found out i can get rid of the post status if i simply add
    ‘post_status’ => ‘publish’,
    to the query. but to be honest i am not sure if it influences the performance. what else can be done here?

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.