Home › Forums › Bug Reports › Watch out for cache issues with the oEmbed field › Reply To: Watch out for cache issues with the oEmbed field
So –– the source code above got scrambled badly. And it also turned out to be a little bit more complex to solve this reliably.
I’ve created and will maintain a gist on GitHub with my current solution:
https://gist.github.com/hirasso/32152de5d84dbcf1c194ea9217db6166
It creates a hidden custom post type to cache oEmbed responses from fields on options pages or the like.
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.