titanoboa
titanoboa copied to clipboard
wip - add requests_cache
What I did
How I did it
How to verify it
Description for the changelog
Cute Animal Picture
this seems like a good feature to have but i'm not sure if we want to add dependencies willy-nilly. maybe we can add it as an extra? @DanielSchiavini
it's mainly just useful for etherscan at this point, although theoretically it could also do caching for other web requests (like the RPC stuff).
we could also use the boa/utils/disk_cache.py
thingy to implement caching by hand. so it's a tradeoff between reinventing stuff and adding dependencies. my concern about adding it as an extra is that the standard advice/setup will be "install boa with the requests_cache extra" and then it will be de facto the same as putting it in the required dependency list, but i'm not too sure on this one.
superseded by 4e3d56c6f2b1c10c10cba9b14fb209036ffc7081