Closed Iiridayn closed 2 years ago
Also, consider putting current cache files in .local/share
(data_dir
), since they are longer lived app data files.
Ah, another key example - we get all the data to generate the big table; subsequent investigation shouldn't have to hit the API anew, since we just hit it.
Closing - fixed by #23, except the big table, which market perturbations make caching effectively not worth the bother.
As a matter of courtesy and so I'd be more comfortable re-running the script to refresh output, it'd be nice to cache api calls for a bit, and add a flag to refresh api data. Maybe it's only relevant when I'm testing, as I hit the API a bunch, and when not testing I don't mind having live data.