Attente
b609567c38
feat(cache): 引入 fresh 和 async_fresh 以控制缓存行为
- 新增 `fresh` 和 `async_fresh` 用于在同步和异步函数中
临时禁用缓存。
- 通过 `_fresh` 这一 contextvars 变量实现上下文感知的
缓存刷新机制
- 修改了 `cached` 装饰器逻辑,在 `is_fresh()` 为 True
时跳过缓存读取。
- 修复 download 模块中路径处理问题,使用 `Path.as_posix()` 确保跨平台兼容性。
2025-10-19 22:31:50 +08:00
..
2025-09-13 09:46:04 +08:00
2025-09-18 17:23:20 +08:00
2025-10-19 22:31:50 +08:00
2025-10-19 22:31:50 +08:00
2025-08-25 13:50:58 +00:00
2025-09-18 22:32:04 +08:00
2025-10-19 22:31:50 +08:00
2025-09-16 03:29:28 +00:00
2025-08-25 21:19:07 +08:00
2025-09-08 10:49:09 +08:00
2025-09-04 11:53:39 +08:00
2025-08-06 16:32:54 +08:00
2025-08-27 08:28:16 +08:00
2025-09-08 10:59:28 +08:00