Faster C5 Cache

Permalink
After searching for ways to improve the speed of concrete 5
(one of my only issues - page load time)

I have found both of these code snippets

This one I have tried and used on both 5.4.2 and 5.5.2 installs
define('CACHE_FRONTEND_OPTIONS', serialize(array('automatic_cleaning_factor' => 0)));


Just came across this today on this page:
http://www.concrete5.org/documentation/installation/installing_conc...
define('CACHE_LIBRARY', 'eaccelerator');


So is one better than the other?
Use Both?

cursal
 
jasteele12 replied on at Permalink Reply
jasteele12
The do two different things:

The zero in the first one tells the Zend cache library to never clear the cache - so you would have to do it manually or create a job for it.

The second one is using an accelerator library (others include 'apc', 'xcache', 'memcashed') instead of the default 'file' (slower, but always available).

So both is better.