Xuanwo commented on issue #5678:
URL: https://github.com/apache/opendal/issues/5678#issuecomment-2811754936

   I have an idea that our future `CacheLayer` can accept an `Operator` 
instead. Take `foyer` as an example, we can implement a `foyer` service. And 
use it like:
   
   ```rust
   let cache_op = Operator::from_config(FoyerConfig::default).finish()?;
   let op = op.layer(CacheLayer::new(cache_op));
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to