Is there any cache_id_prefix for backend cache options in XF 1.X?


Active member
We have following options in configuration for caching.

$config['cache']['frontendOptions']['automatic_serialization'] = false;
$config['cache']['frontendOptions'] = array(
'caching' => true,
'automatic_serialization' => true,
'lifetime' => 10800,
'cache_id_prefix' => 'MySite'

$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => 'localhost',
'port' => 6382,

As you can see, there' "cache_id_prefix" for frontendOptions, is there any such thing for 'backendOptions'? Since, we want to common Redis server for multiple sites, and I am afraid, if we don't use cache prefix for backend cache, it would mix up things?


Active member
Thanks @batpool52!. One query though, would you please let me know, what exactly is frontend cache and back-end cache? What data is cached as Fronend cache and what is cached as backe-end cache.

Thanks again!