Skip to content

Overview ​

The Cache component saves selected controller response bodies. The Cache middleware reads them on later GET requests and returns a response without running the controller or middleware placed after it.

Use this for public output that is identical for every caller of the same URL. For individual view elements, use CakePHP element caching.

Start with Installation, then Getting started. See Limitations before enabling caching for an action.

Released under the MIT License.