企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
\##Xiuno BBS 4.0 中的几种缓存 API 1. 持久存储,永不过期 kv\_set('key1','value1');kv\_get('key1');kv\_delete('key1'); 1. 缓存,可以设置过期时间 cache\_set('key1','value1',60);cache\_get('key1');cache\_delete('key1'); 1. 持久存储,CACHE加速 kv\_cache\_set('key1','value1');kv\_cache\_get('key1');kv\_cache\_delete('key1'); 1. 合并到setting进行存储,持久存储,并且通过cache加速(如果开启cache) setting\_set('key1');setting\_get('key1','value1');setting\_delete('key1'); 1. 合并到runtime中进行存储,持久存储,并且通过cache加速(如果开启cache) runtime\_set('key1');runtime\_get('key1','value1');runtime\_delete('key1');