GridPane Caching Plugins

3 min read

Introduction

This short article covers the different caching plugins that we use at GridPane, how to install or uninstall them, and provides direct download links to each plugin.

GridPane offers two server stacks that use different plugins to manage our server-level caching, and we offer both page and object caching.

When you turn our caching options to ON within your GridPane account dashboard, we install, activate, and configure the plugin so that’s all ready to go immediately. 

Nginx

For server page caching, you need the GridPane Nginx Helper plugin. This is a fork of the plugin created by rtcamp team behind the original Nginx Helper plugin, modified specifically for our custom Nginx stack. 

For object caching, we use the official Redis Object Cache plugin by Till Krüss.

Download Links

If you need a copy of either caching plugin, you can download them from the following links:

OpenLiteSpeed

Our OpenLiteSpeed stack uses the official LiteSpeed Cache that’s developed and maintained by the LiteSpeed team. This is used for both page caching and object caching. 

Download Link

You can download the official LiteSpeed caching plugin here:

Install and/or Uninstall Caching Plugins

Install Caching Plugins

When you toggle our page and/or object caching to ON within the GridPane dashboard, we install, activate, and configure the necessary plugin so that it’s set up correctly for immediate use.

Uninstall Caching Plugins

When you deactivate our caching by toggling it to OFF, we uninstall the plugin. 

Replacing the rtCamp Nginx Helper with GridPane Nginx Helper (Enable Auto Updates)

GridPane uses a fork of the rtCamp Nginx Helper plugin, which we switched to a long time ago when we updated ours to include proper management of Redis DB, multiDB, ACLs, and torden cache purging.

At the time when both plugins worked with our platform, some users updated the nginx-helper plugin to the rtCamp or installed the rtCamp version directly, and maintained that from the WordPress.org repository, which is fine, and it should generally work, but it’s not our plugin, and so we don’t keep that version up-to-date in the background.

Our update mechanism only works with the GridPane Nginx Helper plugin – if the nginx-helper.php file shows it as the rtCamp version, then we leave it alone.

Switching from the rtCamp plugin to the GridPane plugin

If one or more of your websites are running the rtCamp plugin, you can override this behavior and have them auto-update to the GridPane version by adding a single file to your server/s.

Once added, our daily worker will just update all of your sites on that server to the stable pinned version of our plugin, replacing the rtCamp version entirely.

Adding the update file to your server

If this is the first time you’re connecting to your server, please see the following articles to get started:

Once you’re connected via SSH, copy and paste the following into the command line and press Enter:

touch /root/use.gridpane.nginx.helper

And that’s it, you’re all set. Within 24 hours the plugin will be updated across all your sites on that server.