Documentation

Cache

Interfaces, Classes, Traits and Enums

CacheInterface
This is the interface you're supposed to implement if you want to use your own caching strategy with the kit.
ApcCache
The default implementation that is passed in the Api object when created: it is based on APCU, and therefore requires APCU to be installed on the server.
NoCache
A cache implementation that doesn't cache anything; to be passed as the $cache parameter of Prismic\Api::get when you don't want any caching.

Search results