Configuring the front-end is easy, and involves simply adding the following lines to your library/config.php file:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
The simplest kind of cache back-end is a simple file store, which stores cache data as files in the temporary directory of your server.
Configuration is equally simple:
$config['cache']['backend'] = 'File';
1) Which is better out of the above.
2) All I need to do is add either of them to config and they will work, For example I don't need to edit the second one "file" do i?
3) how will I clear cache?
Thanks for your help guys