I redid my plugin to use fixer.io instead of yahoo query, since the usertable responsible for exchange rates have been dead for ages.
I'd like some help with tweaking the plugin, so that when people request a currency conversion, the plugin firsts checks if it has a result cached that is less than 1 day old. If so it'll use that cached data, to save on API hits. Otherwise it'll refresh it's cache. This way the plugin will only do 31 requests / month, out of the 1000 free.
I redid my plugin to use fixer.io instead of yahoo query, since the usertable responsible for exchange rates have been dead for ages.
I'd like some help with tweaking the plugin, so that when people request a currency conversion, the plugin firsts checks if it has a result cached that is less than 1 day old. If so it'll use that cached data, to save on API hits. Otherwise it'll refresh it's cache. This way the plugin will only do 31 requests / month, out of the 1000 free.