Configure Cache
NOTE: before enabling cache make sure you have installed and enabled the cache extension.

APC / APCu

You need to edit your config.php file and the following line
1
define('OSC_CACHE', 'apc');
Copied!

MEMCACHE

You need to know ip and port of the machine/s where memcached service is installed and then add the following lines to the file config.php
1
define('OSC_CACHE', 'memcache');
2
$_cache_config[] = array(
3
'default_host' => '127.0.0.1',
4
'default_port' => 11211,
5
'default_weight' => 1
6
);
Copied!
Last modified 2yr ago
Export as PDF
Copy link