xxf-cache
CommunityUnified cache: memory, disk, and KV.
AuthorNBXXF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
为应用提供一个统一的缓存层,整合内存缓存、磁盘缓存和声明式 KV 存储,简化缓存策略并提升性能和一致性。
Core Features & Use Cases
- 内存 LRU 缓存、磁盘缓存、@PreferenceWrapper KV 存储,构建统一的缓存体系
- 触发场景包括存用户偏好、网络响应缓存、短期数据,确保数据可用性与响应速度
- 与 XXFHttp、@PreferenceWrapper 等模块协同工作,形成端到端的缓存解决方案
Quick Start
使用提供的 API 声明缓存并根据业务场景选用内存、磁盘或 KV 存储,快速集成到应用中。
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: xxf-cache Download link: https://github.com/NBXXF/xxf_ios/archive/main.zip#xxf-cache Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.