hcdesigns/laravel-cache-buster
Composer 安装命令:
composer require hcdesigns/laravel-cache-buster
包简介
Laravel cache buster
README 文档
README
Invalidate cache + blade view cache by posting to a URL.
Installation
Require this package with composer:
composer require hcdesigns/laravel-cache-buster
Add this package to your project in app.php:
Hcdesigns\LaravelCacheBuster\CacheServiceProvider::class,
Initialize this package:
php artisan vendor:publish
Customization
In config/cache-buster.php you can edit your API key and customize your URL
Usage
POST via curl or a browser to:
with parameters: api_key (config/cache-buster.php) and type (all, view)
To Do
Allow clearing cache by key and tags
统计信息
- 总下载量: 632
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-06