Like, htaccess caching.
I'm already using File Cache, here's my code.
I'm already using File Cache, here's my code.
PHP:
// Cache
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['cacheSessions'] = true;
$config['cache']['frontendOptions'] = array('caching' => true,
'automatic_serialization' => true,
'lifetime' => 1800,
'cache_id_prefix' => 'phc_'
);
// End Cache
// File Cache
$config['cache']['backend'] = 'File';
$config['cache']['backendOptions'] = array('cache_dir' => 'public_html/forum/internal_data/cache');
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching' => true,
'automatic_serialization' => true,
'lifetime' => 1800
);
// End File Cache