You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: