Home › Forums › General Issues › Why does add_field always clear the cache? › Reply To: Why does add_field always clear the cache?
For most people this may not have any effect, but if the field is altered after that field is put into the cache then when the field is displayed on the edit form it will be displayed as the cached value. Like I said, most of the time, for people that do not add any of acf filters that modify field settings, they probably won’t see any difference but removing the lines will mean that some acf filters will no longer function. I don’t know when this will happen, but it would be interesting to see what happens if others post any results.
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.