On this page
SetCacheHeaders
class SetCacheHeaders (View source)
Methods
static string | using(array|string $options) Specify the options for the middleware. |
|
Response | handle(Request $request, Closure $next, string|array $options = []) Add cache related HTTP headers. |
|
array | parseOptions(string $options) Parse the given header options. |
Details
static string using(array|string $options)
Specify the options for the middleware.
Response handle(Request $request, Closure $next, string|array $options = [])
Add cache related HTTP headers.
protected array parseOptions(string $options)
Parse the given header options.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Http/Middleware/SetCacheHeaders.html