One of the fixations we've had over the recent past, is a fixation to make our site load insanely fast - and that's when we first heard about Joomla memcache(d).
Let's just say that we have never seen such a great hosting service. By default the loading site was cut down by an impressive 2 seconds (with no other changes).
That means they set their servers up very very nicely. But there's more to make your site fast - Joomla memcached.
Level 1: Static Cache - caches your static content (similar to what a CDN would do)
Level 2: Dynamic Cache - It creates copies of your website's dynamic content and stores them in the server RAM. This requires their own custom plugin to interface well with your site and the server it's hosted on
Level 3: The Joomla Memcached technology speeds up database calls, API calls and page rendering by storing data and objects in memory to reduce the number of times a database is queried. SiteGround is the only company that applies the memcached algorithm on a shared server environment.
How to Activate Joomla Memcached
The great thing is that Joomla supports memcache by default, but since this requires some tweaking, you won't find it under the normal cache settings in the Global Configuration. Joomla 3 memcached settings are hidden and need to be activated by doing a small tweak in the configuration.php file.
To enable Memcache you'll need to edit your Configuration.php and edit the following two variables:
where xxxxxx is a port specified by your hosting server.
Joomla Memcache settings
Once this is done, your Joomla is now memcached and you should see another improvement in the loading time of your website. This is particularly helpful for busy websites. Make sure you check whether your site supports memcached - if they don't, you should give SiteGround a look ;)
There are plenty of other articles about performance on this site, one of the more popular ones is how to fix the error named, leverage browser caching - we've got a full explanation on CollectiveRay.