Controls how or whether the client browser and web proxies should cache this response.
public cache ( mixed $expires ) : void | ||
$expires | mixed | This can be a Unix timestamp indicating when the page expires, or a string indicating the relative time offset that a page should expire, i.e. `"+5 hours". Finally, `$expires` can be set to `false` to completely disable browser or proxy caching. |
Результат | void |