mouf/utils.cache.in-memory-cache
最新稳定版本:v1.0.2
Composer 安装命令:
composer require mouf/utils.cache.in-memory-cache
包简介
This package contains the most basic cache mechanism. It stores cache items in an array. It means the cache is flushed as soon as the script returns. It is very basic, but also very fast. You will usually use this mechanism with another one just behind.
关键字:
README 文档
README
This package contains the most basic implementation of Mouf's CacheInterface. It stores cache items in an in-memory array. It means the cache is flushed as soon as the script returns. It is very basic, but also very fast. You will usually use this mechanism with another one just behind. To learn more about the cache interface, please see the cache system documentation.
Compared to Mouf's other cache implementations, the local cache system comes with an additional feature: a chaining mechanism.
In practice, you would put the in-memory cache in front of another cache. If your application queries several times the same key in the same script, it will be available in-memory and the cache system will not be queried (hence a faster result).
统计信息
- 总下载量: 358.78k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-07-21