Skip to content

Instantly share code, notes, and snippets.

@tomaj
Created June 25, 2011 14:13
Show Gist options
  • Save tomaj/1046528 to your computer and use it in GitHub Desktop.
Save tomaj/1046528 to your computer and use it in GitHub Desktop.
Zapnutie caching frameworku
<?php
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations'] = array(
'cache_hash' => array(
'frontend' => 't3lib_cache_frontend_VariableFrontend',
'backend' => 't3lib_cache_backend_MemcachedBackend',
'options' => array(
'servers' => array('server:11211'),
)
),
'cache_pages' => array(
'frontend' => 't3lib_cache_frontend_VariableFrontend',
'backend' => 't3lib_cache_backend_MemcachedBackend',
'options' => array(
'servers' => array('server:11211'),
)
),
'cache_pagesection' =>; array(
'frontend' => 't3lib_cache_frontend_VariableFrontend',
'backend' => 't3lib_cache_backend_MemcachedBackend',
'options' => array(
'servers' => array('server:11211'),
)
)
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment