dashed-slug.net › Forums › General discussion › [wallets_balance template="list"] doesn't update balance until clear cache › Reply To: [wallets_balance template="list"] doesn't update balance until clear cache
Thank you for reporting this! I will add it to the troubleshooting section!
Glad you got the issue resolved. Some background info:
In general, most API calls are not cached by the plugin, and the ones that are, have a very short expiry time, simply to aid in performance. The get_coins_info
JSON API call is the one responsible for retrieving balances and is cached for 30 seconds to avoid abuse. The frontend then polls this API every 5 minutes by default, but this is configurable. Additionally, if you switch to another tab and then back to your site’s frontend, this triggers a refresh of the server data. In the future I would like to add a button so that a user can manually refresh the data. Unfortunately due to the architecture of WordPress it is not possible to have live feeds via websockets, so it has to be polling.
kind regards