-
Notifications
You must be signed in to change notification settings - Fork 7
Add LRU cache support #2
Comments
There's no caching inside this crate, but since it uses |
So, any plan to support caching? I think provide a clear, controllable caching to user is better than the potential system caching. Maybe you can consider to use lru_time_cache to provide a optional caching. |
|
|
I think that a cache option could be added to the CpuPoolResolver, but I wouldn't give the default resolver a cache (the lazy static one). So you could only get cache benefits by using a custom resolver, and the |
It's ok. I just want use your lib in my next project, and I am a little busy currently. So, it's not hurry. But it would be helpful if you can give more examples about how to use your lib, like: how to implement a simple custom resolver : ) |
Does this crate have the cache support? I am not carefully review the source code, but seems there have no cache support.
The text was updated successfully, but these errors were encountered: