Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: completely & precisely control cache and remote resource request #146

Open
Phuker opened this issue Oct 6, 2020 · 0 comments

Comments

@Phuker
Copy link

Phuker commented Oct 6, 2020

I am making a wrapper of this tldr client to display default & private tldr pages at the same time, but it is confusing to config whether to use cache.

Sometimes I do not want cache and only want remote request. I set env TLDR_CACHE_ENABLED=0, it will still fall back to cache when web request fails, the cache can not be disabled completely.

On other times I only want to read from cache but do not want any remote request. I can not find an option to do this.

I have to do a lot of workaround. It might be good if these things can be controled completely & precisely.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants