Optimal concrete5 setup

Permalink
Hello

I am looking to set up a large website using concrete5. I am about to start looking for hosting and server setup. I was wondering what is the recommended or optimal setup for a dedicated server running concrete5, what kind of things should I make sure I install to get the best out of concrete5?

Cheers
Barry

novelnova
 
Sadu replied on at Permalink Reply
Sadu
Hi Barry, I'm no expert in this but here are a few pointers - basically a lot comes down to having your caching configured correctly.

Start with APC on the server for opcode caching.
You can also use APC or memcached for key-value caching. You will need to set the following in your config file.
define('CACHE_LIBRARY', 'Apc');

This helps too...
define('CACHE_FRONTEND_OPTIONS', serialize(array('automatic_cleaning_factor' => 0)));


It's also important that you setup caching for *all* of your custom blocks.... eg
protected $btCacheBlockRecord = true;
protected $btCacheBlockOutput = true;
protected $btCacheBlockOutputOnPost = true;
protected $btCacheBlockOutputForRegisteredUsers = true;
protected $btCacheBlockOutputLifetime = 3600;


We use apache but that may not be the best option. Nginx might be a better way to go.
novelnova replied on at Permalink Reply
novelnova
Thank you Sadu,