class Illuminate / Http / Middleware / SetCacheHeaders
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

SetCacheHeaders

Methods

public static

using ( $options ) : string

Specify the options for the middleware.

Parameters

  • $options array|string
public

handle ( $request , Closure $next , $options ) : Symfony\...\Response

Add cache related HTTP headers.

Parameters

protected

parseOptions ( $options ) : array

Parse the given header options.

Parameters

  • $options string