ChemicalKicks
Well-known member
So the obvious question what would you recommend adding to the config to enable caching?
I'm surprised you are using a shared host. Is your site not big enough for a vps or dedi?Now running on my live site
ragtek and I have a few threads open with config.php discussions and apc/memcached and opcode caching settings. Perhaps a better place to discuss? Just a suggestion.So the obvious question what would you recommend adding to the config to enable caching?
Everything within internal_data should be 0777./internal_data/cache/ Should this be chmod to 0777?
ragtek and I have a few threads open with config.php discussions and apc/memcached and opcode caching settings. Perhaps a better place to discuss? Just a suggestion.
Maybe the whole cache discussion could be split off, but whatever. =D
How do you determine if a cache software is running on a server?
$config['cache']['enabled'] = true;
$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] = array('cache_dir' => '/home/user/public_html/internal_data/cache');
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching' => true,
'automatic_serialization' => true,
'lifetime' => 1800
);
Memcache is only better if you use multiple servers. APC is your choice.Which option is better: Memcache or APC?
PHP:$config['cache']['enabled'] = true; $config['cache']['backend'] = 'File'; $config['cache']['backendOptions'] = array('cache_dir' => '{{FULL PATH TO CACHE DIR}}'); $config['cache']['frontend'] = 'Core'; $config['cache']['frontendOptions'] = array('caching' => true, 'automatic_serialization' => true, 'lifetime' => 1800 );
Replacing the {{FULL PATH TO CACHE DIR}} To the full path to your cache dir, recomended is /library/cache
We use essential cookies to make this site work, and optional cookies to enhance your experience.