Closed zendern closed 4 years ago
Does go have a simple http request diskcache??
Serialize the contents to disk ourselves??
This feels easy to mess up
Find a different caching solution instead of Badger??
DELETE FROM <cache_table>
makes cache cleanup easyAnything else?
Maybe @DarthHater can hook us up w/ a higher rate limit if we use a Nancy user agent and forget about caching altogether.
Rate limiting is more or less here to stay, doubt we'd go that route @fitzoh (although I love the suggestion).
We should add "works on WSL (windows subsystem for linux)", etc... to our requirements, as Badger doesn't seem to work well in that context
I'm going to pick this up today. I'll see what I can figure out.
Ok, pudge
is in, closing this for now!
By removing Badger it should hopefully fix this as well #64 .
What feature or behavior is this required for? Caching of the results from OSS Index. It is rate limited so the reason this is in place is to not overload that service and realistically deps don't change that often so caching the results for 12 hours currently helps with those things.
How could we solve this issue? (Not knowing is okay!) Does go have a simple http request diskcache?? Serialize the contents to disk ourselves?? Find a different caching solution instead of Badger??
Anything else?
cc @bhamail / @DarthHater