sillygod / cdp-cache

a caddy 2 proxy cache plugin
MIT License
120 stars 18 forks source link

support redis & yedis #4

Closed zuohuadong closed 4 years ago

zuohuadong commented 4 years ago

consider to use redis .

like : https://docs.yugabyte.com/latest/yedis/quick-start/

sillygod commented 4 years ago

Thanks for filling this issue.

Currently, I am working on the purge cache function and some minor refactoring. This plugin now supports file cache and in-memory(powered by groupcache -- it run without any external application server). It's a little lower priority to add others backend.

To provide a bit of context. There is an backend interface which can implement the cache backend and the Redis is actually one of your wishlists. Although, the content of the file is empty now.

I need some time to implement this :)

sillygod commented 4 years ago

@zuohuadong I've added a new redis backend and test it with the redis server. That would be a big help if you can help me test with the yedis.