Home › Forums › Add-ons › Options Page › Concern about ACF get_fields() efficiency… › Reply To: Concern about ACF get_fields() efficiency…
Hi @adjTeam
The get_fields function is in no means efficient. It will load the maximum amount of data possible.
All your fields are images, so your website is loading in all the image sizes and metadata for each image.
Do you need to be worried? Maybe. Perhaps you should load in only the data you need, using get_field
when needed, and maybe think about loading in the image ID (image field setting) and loading only the image data you need.
Thanks
E
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.