reproxy icon indicating copy to clipboard operation
reproxy copied to clipboard

How about add extra cache mechanism

Open mhf-ir opened this issue 4 years ago • 3 comments

Nginx support proxy cache and it's useful but how about add much more cache mechanism like bloom.

  • Buckets
  • Custom TTL
  • Taggable Cache
  • Easily Purge(By special tags, or Buckets)

Could be store on Redis,Filesystem, LRU application, Mongo or etc...

mhf-ir avatar Apr 13 '21 22:04 mhf-ir

I don't want to add extra complexity to the core. To my taste, it already has too many things in, so I'd rather remove/extract.

Extras like middleware-level caching probably can be done with some plugins as soon as we figure what technics we want to use to connect external code.

umputun avatar Apr 14 '21 01:04 umputun

as we heave plugins support in place this caching can be implemented as a plugin. If anyone wants to deal with this let me know and we could discuss how such a plugin should be organized on the code level, repo location and so on

umputun avatar Sep 12 '21 17:09 umputun

Hello, I could work on it. As I already done a middleware for lot of reverse-proxies/APIM to implement a fully RFC compliant cache system called Souin I think it would be easy to adapt the middleware way into a RPC handler. But I don't know if we can catch the request and the response.

darkweak avatar Apr 18 '22 11:04 darkweak