dereuromark/cakephp-cache
最新稳定版本:2.1.0
Composer 安装命令:
composer require dereuromark/cakephp-cache
包简介
Cache plugin for CakePHP
README 文档
README
This branch is for use with CakePHP 5.1+. For details see version map.
What is it for?
It is the successor of the 2.x CacheHelper and allows you to cache your complete views as HTML. No dynamic parts anymore, just complete static content ready to be delivered. If you don't want to set up ESI and other third party caching software, this CakePHP only approach does the job.
It uses a Middleware and a Component. Why not a helper anymore? Mainly because a helper is too limited and would not be able to cache serialized views, e.g. JSON, CSV, RSS content which have been build view-less.
Demo
sandbox.dereuromark.de/sandbox/cache-examples/
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require dereuromark/cakephp-cache
Also don't forget to load the plugin in your Application class or by running:
bin/cake plugin load Cache
Usage
This plugin contains a full-page view cache solution for your controller actions. You can use file-based (default) or any engine based (e.g. Memcache, Redis, ...) cache strategy.
For details see /docs.
统计信息
- 总下载量: 36.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 33
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-21