cache-aware-clients need enhance #104
Replies: 1 comment 1 reply
-
It's not meant to be static, you can register it as a singleton to reuse the cache. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://docs.servicestack.net/cache-aware-clients
the sample code from docs:
issue:
how to control the sharedCache lifetime?
just work at a method body?
https://docs.servicestack.net/csharp-client#cache-aware-service-clients
the sample code from docs:
issue:

WithCache can not work, because of not exist long litetime's ConcurrentDictionary<string, HttpCacheEntry>()
by new CachedServiceClient(ServiceClientBase client)
Beta Was this translation helpful? Give feedback.
All reactions