Support

Account

Home Forums Add-ons Options Page Cache ACF fields stored in the wp_options table Reply To: Cache ACF fields stored in the wp_options table

  • While this will be hopefully be fixed/improved due to the autoloading options, if you have templates fetching a huge number of options fields like this you can build a caching system yourself – hook into the edit_category (or similar) filters; fetch all of the relevant fields for the page and cache them in an array in a single autoloaded option. That way all of the queries only need to be run when saving/creating/deleting a category, rather than on the frontend.