laraturka/nocache
Composer 安装命令:
composer require laraturka/nocache
包简介
No Cache Middleware for Laravel
README 文档
README
No Cache Header Middleware for Laravel 5
You can use it for nocache requirement for laravel routes or controllers.
First, open your app/http/kernel.php and add 'nocache' => \Laraturka\Nocache\NoCacheMiddleware::class
And then use it your route.php (or route/web.php)
Route::group(['prefix'=>'admin', 'middleware' => ['nocache']], function() { //your code }
Or use with multiple middleware
Route::group(['prefix'=>'admin', 'middleware' => ['auth','acl','nocache']], function() { //your code }
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-22