How to set up Memcached on my WordPress blog

How-to-set-up-Memcached-on-my-WordPress-blog-2

Set Up Memcached On My WordPress Blog

WordPress is indeed an amazing application, which has long since settled in the hearts of users so we are going to set-up-Memcached-on-my-WordPress-blog-1show you how to set up Memcached on my WordPress blog

With its reliable back end, user-friendly front-end and thousands of fancy free wordpress themes coming out every day, wordpress is perhaps the easiest to start your new blog or e-commerce store (or any other type of website you might have dreamed up) with.

However, easy to use website solutions often come with a price penalty. WordPress is resource hungry, WordPress sites have proven to be far more CPU intensive as compared to static HTML websites or to microblogs.

No matter if you have a small WordPress blog or a large, high traffic intensive WordPress portal, SEO experts recommend that you choose a way to cache your wordpress web content so as to reduce server resource requirements and give your visitors the ultimate, fast on site browsing experience they anticipate from you. Set up Memcached on my WordPress blog will help you achieve this!

Your WordPress host or installation generally will not offer caching options, so you have to pick a solution yourself. If you set up Memcached on my WordPress blog you will have the fastest caching there is for wordpress.

Most free CDNs, for example, will copy and cache the static files in your website – .css files, .js files, etc.

Files, which are generated dynamically with queries to the database (like with blog posts or category pages) will not be cached, as they are created the moment a visitor wants to see them (Note: premium plans with most CDN providers allow caching of dynamic pages).

There are also many caching plugins for WordPress around the web. However, most of them are overloaded with features, which may cause increasing and unnecessary use of server resources.

This is where a dynamic caching platform like Memcached kicks in.

As a distributed memory caching system, Memcached caches only queries that are characteristic of database driven websites like WordPress.

How-to-set-up-Memcached-on-my-WordPress-blog-2

 

Our WordPress cloud hosting platform offers native support for Memcached and you can enable Memcached for your WordPress-powered site in a few quick steps.

set-up-Memcached-on-my-WordPress-blog-3

Here are the main steps to set up Memcached on my WordPress blog:

Step 1: Enable the “Memcached” option in the PHP Settings section of the DDNS Hosting Control Panel;

set-up-Memcached-on-my-WordPress-blog-4

Step 2: Create a new Memcached instance from the Control Panel (Advanced-Memcached) using the default settings;

How-to-set-up-Memcached-on-my-WordPress-blog-5-768x340

Step 3: Go to the WordPress folder in the DDNS File Manager.

Locate the wp_config.php file and add the following line:

1
define(‘WP_CACHE’, true);
just after

1
define(‘WP_DEBUG’, false);

Set-Up-Memcached-On-My-WordPress-Blog-6

This will enable WordPress to use caching.

Step 4: Install the WP-FFPC plugin from the WordPress admin area.

WP-FFPC is a plugin that uses system memory to cache blog posts and APCu/Memcached to store data.

It will pre-cache all your blog posts before users even go to your website.

Step 5: Activate WP-FFPC

Set-Up-Memcached-On-My-WordPress-Blog-7

Step 6: Go to Backend Settings

Step 7: Enter the path to the Memcached socket (you can find it in the Memcached section of the Control Panel) in the hostname field.

How-to-set-up-Memcached-on-my-WordPress-blog-8

Step 8: Click on Save Settings.

That’s it!

Memcached is now enabled for your WordPress site.

Memcached is enabled by default with our EX-Pro and EX-Treme web hosting plans and is included as an optional service with our EX-Start and EX-Tra plans. Try them all with a free 30 day trial!

Leave Your Comment!

DDNS Cloud Hosting News is Stephen Fry proof thanks to caching by WP Super Cache

By continuing to use DDNS Cloud Hosting News, you agree to our use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you choose to continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to our use of cookies. ** Please Note** While you can scroll this page at your leisure before clicking accept, Any attempt of navigating our site is taken as giving your consent whether you click accept or not!

Close