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).

You've probably seen our "memcache" article, if you haven't then you really should ;) We've recently switched to the SiteGround after hearing so much raving reviews about them.

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.

 

Besides the default setup, SiteGround offer three levels of cache to make your site faster

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.

 Default Joomla Cache Settings

 

To enable Memcache you'll need to edit your Configuration.php and edit the following two variables:

public $caching = '0';
public $cache_handler = 'file';

to:

public $caching = '2';
public $cache_handler = 'memcache';
public $memcache_server_host = 'localhost';
public $memcache_server_port = 'xxxxxx'

 where xxxxxx is a port specified by your hosting server.

Joomla Memcache settings

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 ;)

 

Let's help you manage your Joomla better

joomla

Free Joomla tips ebook button

Featured On

Inc Magazine Logo  

Sitepoint logo  

CSS Tricks logo   

webdesignerdepot logo   WPMU DEV logo   

and many more!

Where are we hosted?

This site is proudly powered by FAST VPS InMotion Servers and given an insane speed thanks to MaxCDN!

Web Hosting MaxCDN - Speed up your website

Advertise on CollectiveRay.com

CollectiveRay (formerly known as DART Creations) is interested in developing partnerships with mutual benefit. If you like the stuff we publish and would like to develop a relationship, we'd be happy to hear from you. Go on - drop us a line - we'd love to hear from you :-)

New! DIVI 3.1 WordPress Template + PageBuilder

You'll surely create a perfect website with Divi 3.1!

Get an exclusive 20% OFF for CollectiveRay visitors until

Divi 3

 

The Outstanding HungryJPEG Bundles

AWESOMENESS! Bundles of premium font + graphic packs at more than 96% OFF!  Get this bundle for just $29 - This month ONLY!

The Hungry JPEG Awesome font bundles

 

Disclosure: CollectiveRay is funded personally out of pure passion for helping people working with websites. We do however generate some income through recommendations of products. This means if you click on a link and purchase an item we link to, we will receive a small sum out of that sale.

Popular Content

Joomla extensions to take your website to the NEXT level

Is your Joomla website reaching its full potential? We install many of these extensions on almost ALL of our Joomla sites - why don't you check them out our list of Joomla Extensions and see whether you can take your site to the next level?

who are we?

CollectiveRay is run by David Attard - working in and around the web design niche for more than 12 years, we provide actionable tips for people who work with and on websites. We also run DronesBuy.net - a website for drone hobbyists.

David attard

Follow us on Social

Follow us on Facebook   Follow us on Google+   Subscribe to our RSS Feed   Follow us on Twitter