[LRUG] VCR caches

James Adam james at lazyatom.com
Tue Sep 11 03:07:41 PDT 2018


On 11 Sep 2018, at 10:07, Samuel Joseph <tansaku at gmail.com> wrote:
> 
> I have two concerns
> 
> 1) new developers onboarding often get snarled up in the caching and the files generated

I tend to consider the generated YAML files as black boxes — it’s hard to predict their contents or make much sense of them until you’re quite experienced.

> 2) the cached recordings are gradually getting further and further out of date - could we automate their refreshing?

VCR _can_ be configured to automatically re-record after a fixed period of time, would that help? https://relishapp.com/vcr/vcr/v/3-0-3/docs/cassettes/automatic-re-recording <https://relishapp.com/vcr/vcr/v/3-0-3/docs/cassettes/automatic-re-recording>

— James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20180911/b50a3363/attachment-0004.html>


More information about the Chat mailing list