- 缓存,可以设置过期时间
cache_set('key1', 'value1', 60);
cache_get('key1');
cache_delete('key1');
- 持久存储,cache加速
kv_cache_set('key1', 'value1');
kv_cache_get('key1');
kv_cache_delete('key1');
- 合并到setting进行存储,持久存储,并且通过cache加速(如果开启cache)
setting_set('key1');
setting_get('key1', 'value1');
setting_delete('key1');
- 合并到runtime中进行存储,持久存储,并且通过cache加速(如果开启cache)
runtime_set('key1');
runtime_get('key1', 'value1');
runtime_delete('key1');