This is the uber disappointing response that I got. I had to move to a different plugin. Can’t sell a theme that runs that slow:
This is a known issue with large amounts of ACF fields, and as you pointed out, with conditional logic.
Some people have managed to reduce the load times by the following methods:
Increasing max_vars as seen here: http://www.advancedcustomfields.com/faq/limit-number-fields/
(The link is about people not being able to save extra fields, but increasing max_vars and memory available to PHP should still increase performance with your issue.)
Installing a plugin that limits the number of revisions wordpress saves.
I’m sorry to say that these will both only increase performance slightly, if at all.
There is not really a way for ACF to “fix” this in the future, as ACF is just an easier way to access wordpress’ built in custom post functionality.
Hmmm. What about using WordPress built in categories. Can the Select field be populated with that?
I am currently using MAMP and it’s very likely it is caching everything.
I thus moved the theme to my server. I also copied the plugin to the plugin directory and activated it.
However, the menus that I created do not appear in the new theme. How do I go about “importing” them so that I can see if indeed this is a cache issue?
I don’t want to export the PHP and include it in Functions.php because they are far from ready and need many more changes.
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!
© 2023 Advanced Custom Fields.