Hey there! I'm currently working on a CLI tool to deploy WordPress apps to DigitalOcean. Check it out! It's free and open source.
Meet Surge, a brand new page caching plugin for WordPress. It’s extremely fast and has no configuration screens. There is no learning curve, the plugin works just by activating it.
Surge stores cache files on the filesystem, leveraging the Linux kernel page cache for efficient in-memory caching and invalidation. In various load tests, Surge has shown to easily handle 1000-2500 requests per second at 100 concurrent, on a cheap single-core virtual server with only 1 GB of memory. That’s over 70x faster than a stock WordPress install with a default theme and no plugins.
Surge is free and open source, available under the GPL.
Another Caching Plugin
As many of you know I’ve been working on a CLI tool called Sail these past few months, and one of the features many customers have been asking for is caching.
I agree, a WordPress site can not be considered production-ready without a page caching layer, so I’ve been on the lookout for a good fit for Sail. I’ve probably tried every single page caching plugin for WordPress, and unfortunately none of the available options were a great fit.
The biggest blocker for me was the configuration, screen after screen after screen, the amount of hoops I had to jump through just to get things working. And sure, there are on-screen guides and wizards, video tutorials, hundreds of documentation articles, but all I wanted was a page caching plugin, not a rocket (no pun intended).
I had to roll my own.
The first draft of Surge was created a few months ago during a live stream, and since then, it’s been polished and battle-tested on various small and large WordPress projects in production. It’s in good shape, and will soon ship with Sail by default.
If you already use a page caching plugin, you’ll have to deactivate it first. If you’re hosting with a managed WordPress host, you might already have a built-in caching solution and may not need an additional plugin (ask your host).
Otherwise, you can install Surge using WP-CLI:
wp plugin install --activate surge
Or using the WordPress Dashboard, in Plugins – Add New – Search for “surge”, then hit Install. After the installation is successful, hit Activate to enable caching.
Surge will automatically invalidate cached entries on various different events, so you shouldn’t have to worry about that. There’s no “clear cache” button and you shouldn’t really need one. However, if for whatever reason, you absolutely need to clear the page cache, just toggle the plugin off and on.