Home › Forums › General Issues › What's faster? › Reply To: What's faster?
Hi back,
Ok, the 6 times slower thingy never happened again, so I’ll not take this in consideration.
But what’s sure is the following:
If I replace all $itemCustomFields['itemN'][0]
thingy by get_field('itemN', $id)
, the page loading is about max 30% slower.
So as you said before, get_post_meta($id) is indeed faster, but dealing with the returned data is way less easier then when using get_field.
So I’ll decide depending the need.
Sadly for the get_num_queries, I cannot see any difference since I’m calling my portfolio with Ajax. (or can I?)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.