Home How To: Speed Up the WordPress Admin Panel on a VPS

How To: Speed Up the WordPress Admin Panel on a VPS

A few weeks back, I gave some tips for how to speed up WordPress on a VPS. Several readers suggested using WP-SuperCache. This is a good suggestion, but in my case, it didn’t work.

After a bit of investigation, I discovered that the load issues appeared to be coming from the WordPress admin panel. As far as I’m aware, WP-SuperCache won’t help here, so I looked for an alternative.

Introducing the Object Cache Plugin

I had to do quite a bit of digging to find the Object Cache plugin, which is basically a drop-in. But first, you need to install memcached, followed by the PECL memcache extension.

Partway through the process, I got a bit stuck – I couldn’t find a current version of libmemcache. Never fear, there’s a blog post that might help: Installing memcached and libmemcache on Debian.

A Hitch: Multiple WordPress Installs on the Same Server

Setting up the Object Cache plugin for one blog worked a treat. Suddenly, everything started moving again. However, it all went a bit wrong when I added the plugin to another blog on the same server (not using multi-site capabilities). Logging into the second blog sent me back to the first.

To solve this, I found that you can force a unique string to be added to the memcache key by modifying the object-cache.php file slightly. This post explains how to do it: Using memcached with WordPress object cache.

Note that the version of object-cache.php is older than the one from the plugins repository, though, so it’s probably safer to make the changes yourself. Look for the “key” function and replace it with the following:

The Result?

Fast loading blogs. Low server load. And I’ve learned a bit more about WordPress in the process.

Of course, there may be less of an issue if you use WordPress’s multi-site capabilities, but I’m not quite ready to do that just yet. If you have more than one WordPress installation and you have access to the command line, this may be a good option for speeding up the admin panel.

Photo by Mykl Roventine: Out & About

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.

Get the biggest iGaming headlines of the day delivered to your inbox

    By signing up, you agree to our Terms and Privacy Policy. Unsubscribe anytime.

    Gambling News

    Explore the latest in online gambling with our curated updates. We cut through the noise to deliver concise, relevant insights, keeping you informed about the ever-changing world of iGaming and its most important trends.

    In-Depth Strategy Guides

    Elevate your game with tailored strategies for sports betting, table games, slots, and poker. Learn how to maximize bonuses, refine your tactics, and boost your chances to beat the house.

    Unbiased Expert Reviews

    Honest and transparent reviews of sportsbooks, casinos and poker rooms crafted through industry expertise and in-depth analysis. Delve into intricacies, get the best bonus deals, and stay ahead with our trustworthy guides.