Hello i have problem query ACF too slow.
I have custom posttype :
1. Club (id, CLUB NAME)
2. Match (home_club, goal_home, competition, away_club, goal_away)
3. competition (Id, competition name)
I try show head to head CLUB A VS Club B, so i will show all match ( Club A as home and Club B as away ) AND (Club A as away and club B as home). I use this query argument, but time to load 6s.
The problem is not with ACF, the problem is that multiple joins to the postmeta table slow WP down, and the fix that WP put in for this does not really fix the problem. Here is the current ticket for this I believe https://core.trac.wordpress.org/ticket/30044
If you do a search for “multiple meta queries slow down wp” you might find some possible solutions.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users