We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.按存储来全局更新缓存的api: 存储会设置缓存过期时间,可以触发全局缓存刷新。 我在api文档中只找到了/api/fs/list的refresh参数,这个api只会刷新当级目录,如果当级目录的子文件夹内发生修改,有时无法更新。 所以如果提供一个能像缓存过期后触发某个存储全局更新缓存的api,可能会更方便一些。 2. 缓存重新刷新的webhook:当定时过期触发、调用1中说的全局更新缓存之后,如果提供一个webhook,设置好自己的回调地址,在某些场景中让轮询变为事件驱动,可以提升效率节省资源。
/api/fs/list
refresh
将程序内置的定时刷新缓存功能封装,提供api调用 当封装的功能运行结束,触发webhook,调用预设的url
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please make sure of the following things
Description of the feature / 需求描述
1.按存储来全局更新缓存的api: 存储会设置缓存过期时间,可以触发全局缓存刷新。
我在api文档中只找到了
/api/fs/list
的refresh
参数,这个api只会刷新当级目录,如果当级目录的子文件夹内发生修改,有时无法更新。所以如果提供一个能像缓存过期后触发某个存储全局更新缓存的api,可能会更方便一些。
2. 缓存重新刷新的webhook:当定时过期触发、调用1中说的全局更新缓存之后,如果提供一个webhook,设置好自己的回调地址,在某些场景中让轮询变为事件驱动,可以提升效率节省资源。
Suggested solution / 实现思路
将程序内置的定时刷新缓存功能封装,提供api调用
当封装的功能运行结束,触发webhook,调用预设的url
Additional context / 附件
No response
The text was updated successfully, but these errors were encountered: