Hi All,
I was wondering if there's an easy way to clear the cache for a given key via a button on the UI or any command? My app hits an API and sometimes the API is down and the app gets in a bad spot. I know I can improve the function to more gracefully handle errors in the API call, but was also just wondering if we can call a function to remove the bad cache?
A dumb way I was thinking was to have like a csv file stored that logs when keys get added to the cache and add the timestamp as a value to the cache key? Then I could have a button that updates the timestamp if I want to remove it? But that keeps caches around and seems hacky.
Thanks!