It uses urlquick's built-in caching mechanism to avoid re-fetching JSON files for games data. The cache TTL is set to 0 for live games and 1 hour for everything else.
It fixes an issue where if the plugin remained in memory >24 hours or was used before/after midnight, live game results would be for the wrong day.
This PR basically does two things:
urlquick
's built-in caching mechanism to avoid re-fetching JSON files for games data. The cache TTL is set to 0 for live games and 1 hour for everything else.Fixes #15.