Open BytewaveMLP opened 6 years ago
Apparently it's really hard to find good HTTP caching libraries for request
. Hmm.
I really don't want to have to write my own, but if that's what it comes to, so be it.
https://github.com/sindresorhus/got is this the answer? find out next episode!
As a side note, request/request
has been deprecated as of Feb 11, 2020. got looks interesting.
Global request caching is still an important feature to add. I think it would be relatively easy to do, as most HTTP fetching is routed through
Fetch
anyway.The question is, do I want this to be done in memory or on disk, or a combination of the two? Should it be user-configurable?