| Package Data | |
|---|---|
| Maintainer Username: | laraturka |
| Maintainer Contact: | kadir@kadir.info (Kadir YILMAZ) |
| Package Create Date: | 2016-11-22 |
| Package Last Update: | 2017-10-04 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-22 15:13:10 |
| Package Statistics | |
|---|---|
| Total Downloads: | 48 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
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 }