Support

Account

Home Forums ACF PRO Performance issues with hundreds of queries Reply To: Performance issues with hundreds of queries

  • A solution I have used in a similar case was to run the fields loop once and then output the HTML from the loop to an option of it’s own in the DB. Next time the page is ran if the page saved date is not newer then the option save date then the HTML is taken from the HTML option in the DB.

    The data can be grabbed in the add_action(‘acf/save_post’);

    This results in one call to the DB if the post has not been altered.

    Hope this helps

    Kieran