APCu storage engine for cache
Array storage engine for cache.
Not actually a persistent cache engine. All data is only stored in memory for the duration of a single process. While not useful in production settings this engine can be useful in tests or console tools where you don't want the overhead of interacting with a cache servers, but want the work saving properties a cache provides.
File Storage engine for cache. Filestorage is the slowest cache storage to read and write. However, it is good for servers that don't have other storage engine available, or have content which is not performance sensitive.
You can configure a FileEngine cache, using Cache::config()
Memcached storage engine for cache. Memcached has some limitations in the amount of control you have over expire times far in the future. See MemcachedEngine::write() for more information.
Memcached engine supports binary protocol and igbinary serialization (if memcached extension is compiled with --enable-igbinary). Compressed keys can also be incremented/decremented.
Null cache engine, all operations appear to work, but do nothing.
This is used internally for when Cache::disable() has been called.
PHP Cache Engine
Stores cache data as executable PHP files using brick/varexporter. This enables OPcache acceleration for extremely fast reads.
Best suited for:
Not recommended for frequently changing data due to slower writes.
Note: When caching complex objects (custom classes, closures, resources), consult https://github.com/brick/varexporter for supported types and limitations. Most common data structures (arrays, scalars, stdClass, enums) are fully supported.
Redis storage engine for cache.