You are browsing a version that is no longer maintained.

Built-in Cache Providers Reference

This is the reference of all the built-in cache providers and their configuration options:

apc

This provider defines no configuration options.

array

This provider defines no configuration options.

chain

providers
The list of service ids of Doctrine Cache Providers to use. Put the fastest providers first (e.g. array cache) and you can skip doctrine_cache.providers.

couchbase

connection_id
hostnames
bucket_name
username
password
Couchbase connection service id Couchbase hostname list Couchbase bucket name Couchbase username Couchbase password

file_system

extension
directory
umask
File extension Cache directory Umask to revoke permissions

mongodb

connection_id
collection_id
server
database_name
collection_name
MongoClient service id MongoCollection service id mongodb server uri mongodb database name mongodb collection name

memcache

connection_id
servers

Memcache connection service id Server list

* server

host, Memcache host port, Memcache port

memcached

connection_id
servers

Memcache connection service id Server list

* server

host, Memcached host port, Memcached port

php_file

extension
directory
umask
File extension Cache directory Umask to revoke permissions

redis

connection_id
host
port
password
timeout
database
persistent
Redis connection service id Redis host Redis port Redis password Redis connection timeout Redis database selection (integer) Whether to use persistent connection or not (bool)

predis

client_id
scheme
host
port
password
timeout
database
options
Provide a client service id to skip the client creation by the bundle (optional, should be used for advanced configuration) Connection scheme (tcp) Redis host Redis port Redis password Redis connection timeout Redis database selection (integer) Array of predis client options

riak

connection_id
bucket_id
host
port
bucket_name
bucket_property_list

Riak\Connection service id Riak\Bucket service id Riak host Riak port Riak bucket name Riak bucket configuration (property list)

allow_multiple: false, riak bucket allow multiple configuration n_value: 1, riak bucket n-value configuration

sqlite3

connection_id
file_name
table_name
SQLite3 connection service id SQLite3 database file name Cache table name

void

This provider defines no configuration options.

xcache

This provider defines no configuration options.

wincache

This provider defines no configuration options.

zenddata

This provider defines no configuration options.