Update to this post - There’s a MUCH easier way to approach “busting the cache” that doesn’t even involve custom states.
Backstory: The method above was no longer working with new workflows I was creating… So, I sent in a Bug ticket and got great help from Bubble.
The new solution to refresh data from a 3rd party API without a page refresh: Add a “Date” header to your API call as seen in the picture below - Set the current date time w/ Bubble. Notice I did the simplified ISO. That’s so it gets down to the second vs. the minute.
Adding “Date” header now tells the API to grab data for that very second - Which means I get a fresh crop of data!
So, the above solution with the custom states and all of that is overkill - I wouldn’t recommend it anymore. I am now displaying the list of data right in my Repeating Group. Much much easier.
Enjoy!
OLD WAY
NEW WAY


