Package Data | |
---|---|
Maintainer Username: | harveychow |
Maintainer Contact: | harvey@hcdesigns.nl (Harvey Chow) |
Package Create Date: | 2017-04-06 |
Package Last Update: | 2017-09-11 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-26 15:01:42 |
Package Statistics | |
---|---|
Total Downloads: | 629 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 5 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Invalidate cache + blade view cache by posting to a URL.
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
In config/cache-buster.php you can edit your API key and customize your URL
POST via curl or a browser to:
http://example.com/hcdesigns-laravel-cache-buster
with parameters: api_key (config/cache-buster.php) and type (all, view)
Allow clearing cache by key and tags