Skip to content

Instantly share code, notes, and snippets.

@oliverthiele
Created December 11, 2014 13:12
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save oliverthiele/9ae52bb36d919acbf800 to your computer and use it in GitHub Desktop.
Save oliverthiele/9ae52bb36d919acbf800 to your computer and use it in GitHub Desktop.
Redis Configuration in TYPO3
<?php
return array(
// ...
'SYS' => array(
'caching' => array(
'cacheConfigurations' => array(
'cf_cache_hash' => array(
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend',
'options' => array(
'database' => 10,
'defaultLifetime' => 86400,
),
),
'cf_cache_pages' => array(
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend',
'options' => array(
'database' => 11,
'defaultLifetime' => 86400,
),
),
'cf_cache_pagesection' => array(
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend',
'options' => array(
'database' => 12,
'defaultLifetime' => 86400,
),
),
'cf_extbase_reflection' => array(
'backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend',
'options' => array(
'database' => 13,
'defaultLifetime' => 86400,
),
),
),
),
// ...
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment