| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function handle($request, Closure $next) |
||
| 17 | { |
||
| 18 | $response = $next($request); |
||
| 19 | |||
| 20 | $response->header('Pragma', 'no-cache'); |
||
| 21 | $response->header('Expires', 'Fri, 01 Jan 1990 00:00:00 GMT'); |
||
| 22 | $response->header( |
||
| 23 | 'Cache-Control', |
||
| 24 | 'no-cache, must-revalidate, no-store, max-age=0, private' |
||
| 25 | ); |
||
| 26 | |||
| 27 | return $response; |
||
| 28 | } |
||
| 30 |