blossom-editor / blossom

A markdown editor that you can deploy on your own servers to achieve cloud storage and device synchronization(支持私有部署的云端存储双链笔记软件)
https://www.wangyunf.com/blossom-doc/index
MIT License
2.97k stars 231 forks source link

feat: 支持redis配置 默认使用 caffeine #112

Closed JackZhan-WEB closed 3 months ago

JackZhan-WEB commented 5 months ago

` spring: redis: database: 1 host: 127.0.0.1 password: port: 6379 timeout: 3000

project: base: enabled: redis: true #是否需要使用 redis cache: # 缓存

项目的缓存方式 redis/caffeine

type: redis

`

xiaozzzi commented 5 months ago

非常感谢提交PR🤝

不过blossom没有使用redis的场景

如果一定要兼容redis的话,需要对整个项目进行比较大的结构调整,相关功能需要放在单独的模块引入,例如缓存和授权,这样才有利于更好的维护