- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/d0ugal/locache
软件介绍
locache 是一个 JavaScript 缓存框架,用于在浏览器上使用 localStorage 进行数据的缓存,如果浏览器不支持 localStorage 也可以优雅的降级处理。
示例代码:
locache.set('user', {
'name': "Dougal Matthews",
'alias': d0ugal
})
var result = locache.get('user');
//{
// 'name': "Dougal Matthews",
// 'alias': d0ugal
//}
