企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
Rap 前端是有缓存的 Rap的加载的组件,js,css都是默认使用缓存的 Rap缓存使用了h5 的IndexedDB和 localStorage技术 Rap默认缓存时存在IndexedDB里的 如果浏览器不兼容IndexedDB或退到使用localStorage Rap会管理localStorage里缓存 如果缓存文件超过大小会自动清除由 Rap 产生的缓存 ### Cache var cache=Rap.cache(); | | | | --- | --- | | set(key,value) | 设置缓存 | | get(key) | 获取缓存 | | remove(key) | 移除缓存 | | clear() | 清空 IndexedDB 和localStorage里 rap 产生的数据 |