Configure WP Rocket for MyListing Websites on Cloudways

Building better MyListing websites. One guide at a time.

Table of Contents

Overview

Guide Updated: 8/21/2021

Our Configure WP Rocket for MyListing Websites on Cloudways guide will show you how to easily implement this solution to speed up and manage your MyListing website.

Note: While Kinsta is our recommended vendor for hosting MyListing websites, Cloudways would be our second choice, and the Club has partnered with Cloudways to offer 20% OFF of your first 3 invoices when you use our link and MYLISTINCLUB as the discount code.

Before You Begin

Solution Overlap

Overlapping functionality can degrade the performance of your website and/or cause conflicts. Before you begin, you will want to remove all other caching-related plugins.

Also, for any optimization solutions you have implemented (plugins, code snippets, etc.) that overlap with the feature set of WP Rocket, you’ll want to a.)  remove those solutions or b.) adjust the settings either within the solution or WP Rocket so there is no overlap in functionality.

As just one example, if you have Perfmatters already performing database optimizations, you can turn this off in Perfmatters, or just not configure it on the WP Rocket side.

WP Rocket Installation

  1. Grab your discounted copy of WP Rocket or get it for FREE as part of a MyListing Website Care plan.
  2. Install and activate WP Rocket.
  3. Optionally, click the ‘No, thanks’ button to opt out of letting WP Rocket collect data about your website.

WP Rocket Settings for Cloudways

If you are hosting your MyListing website with Cloudways, please follow the instructions from this section. Unless we specifically mention something, it is safe to assume you do not need to concern yourself with it.

Cache

User Cache

If you are running a MyListing website that also has a membership component (bbPress, BuddyPress, Learndash, etc.), you will likely want to enable this setting. Be sure to use WP Rocket’s ‘Need Help?’ link to gain a further understanding of this.

Cache Lifespan

The default setting should be fine here, but if you notice that your cache is holding onto content a bit too long, you may want to consider lowering the value here. Just know that the lower this setting goes, the more server resources will be used, and while this may not be a big deal, it’s definitely something to keep in mind especially if you are on cheaper hosting.

File Optimization

CSS Files

  • Minify CSS files: Enable.
  • Optimize CSS delivery: Enable. (Note: See the ‘Testing’ section of this guide.).

JavaScript Files

  • Minify JavaScript files: Enable.
  • Load JavaScript deferred: Enable. (Note: See the ‘Testing’ section of this guide.).
  • Delay JavaScript Execution: Enable. (Note: See the ‘Testing’ section of this guide.).

Minification and Varnish

If you are going to use the Cloudways Varnish caching,  you will want to add a URL exclusion to allow the minification process to run smoothly.

  1. Cloudways Dashboard > Select your Application (i.e. Website).
  2. Application Management > Application Settings.
  3. Varnish Settings > Click Add New Rule.
  4. Value Line > Paste in the following variable: (.*)/?f=(.*)
  5. Save changes.

Media

LazyLoad

If you are already using an image optimization plugin like ShortPixel Adaptive Images (our recommended image optimization plugin for MyListing websites), they will already provide this functionality, so you would want to skip this section in that case.

Emoji

Enable as long as you’re not using Emojis and you’re not already optimizing this with another solution like Perfmatters.

Embeds

Enable as long as you have not already done so with other solutions like Perfmatters or Cloudflare’s Hotlink Protection. We recommend using Cloudflare (Cloudflare > Scrape Shield > Hotlink Protection) for this, which is part of their FREE plan.

WebP Compatability

Please refer to the LazyLoad section above.

Preload

Preload Cache

  • Activate sitemap-based cache preloading > Enable.

Preload Links

Enable as long as you’re not already optimizing this with another solution like Perfmatters.

Prefetch DNS Requests

Utilize this feature if you can, but don’t just use it to use it, and be sure you’re not already optimizing this with another solution like Perfmatters. Use WP Rocket’s ‘Need Help?’ link to gain a further understanding of this, if needed.

Preload Fonts

Utilize this feature if you can, but don’t just use it to use it, and be sure you’re not already optimizing this with another solution like Perfmatters. Use WP Rocket’s ‘Need Help?’ link to gain a further understanding of this, if needed.

Advanced Rules

Never Cache URL(s)

We recommend excluding the following pages from caching, at a minimum.

  • All Policy Pages (Privacy, Refunds, etc.).
  • All MyListing Explore Pages.
  • MyListing’s Core ‘Add Listing’ page.
  • MyListing’s ‘Claim Listing’ page.

Note: WP Rocket already excludes the WooCommerce ‘Cart’, ‘Checkout’, and ‘My Account’ pages.

Database

As you go through these settings be sure you’re not already optimizing this with another solution like Perfmatters.

Post Cleanup, Comments Cleanup, and Transients Cleanup

Enable all options.

Database Cleanup

Do not enable this if your application (i.e. WordPress site) is using MariaDB for its database technology, as this can do more harm than good. You can easily find out what database technology is being used for your site, with the Cloudways dashboard (Applications > Server Management > Settings & Packages > Packages > MySQL).

Note: We recommend using MariaDB over MySQL and if you make the switch, be sure to go with the latest version of MariaDB that’s available to you.

Automatic Cleanup

Enable and set to ‘Weekly’.

CDN

This is not needed if you are already using Cloudflare (our preference), but we also recommend BunnyCDN and the steps below do apply to that particular solution, as well as many other CDN solutions.

  1. Check the ‘Enable Content Delivery Network’ box.
  2. CDN Name(s) > Paste in the values from your CDN vendor.
  3. Save changes.

Heartbeat

Enable as long as you’re not using Emojis and you’re not already optimizing this with another solution like Perfmatters.

  1. Check the ‘Control Heartbeat’ box.
  2. Leave the default options. (Note: We have seen where disabling the WP Heartbeat completely for ‘Behavior in backend’ and ‘Behavior in Frontend’ works just fine, but you will need to thoroughly test for yourself since every site is different.).
  3. Save changes.

Add-ons

Rocket Add-ons

Cloudflare

Enable if you are using Cloudflare and check out our Implement Cloudflare’s CDN for Better MyListing Security and Performance guide for more information.

Important: If you are using Cloudflare’s APO service, be sure NOT to enable this add-on. Again, please see our Cloudflare guide for more information.

Sucuri

Enable if you are using the Sucuri Website Firewall with caching enabled, as this will keep the caches in sync so that your site will always be updated with your latest content. 

  1. Toggle on the add-on.
  2. Click the Modify Options button.
  3. Grab your Sucuri API key and plug it into WP Rocket.
  4. Save changes.

Image Optimization

This section is simply a prompt to install WP Rocket’s Imagify plugin and while you can certainly do that, we recommend ShortPixel Adaptives Images for MyListing websites.

Tools

This section is pretty powerful, providing you the option of import/export configurations and if you run into issues with a particular build of WP Rocket, you can easily roll back to a previous version without having to restore your entire website.

Testing

After certain settings are enabled, be sure to run thorough tests by clearing every level of caching and browsing the critical areas of your site to ensure everything is looking as it should and working properly.

Throughout this guide, we have noted the settings we feel warrant going through the testing process. To always be on the safe side, consider though only testing any time to touch any setting.

Support

If you find yourself running into issues, there are many resources available to you.

Video Tutorial

Play Video

WooCommerce Subscriptions Ready

The latest version of the WooCommerce Subscriptions plugin is included (unlicensed) and once you have a Starter Site in hand, you can easily put in your own pricing, package features, graphics, etc.

Should you not wish to use WooCommerce Subscriptions, you can simply turn the Listing Subscription packages into standard MyListing packages in just a few clicks and be on your way.

  • Custom WooCommerce Endpoint Design
  • WooCoommerce Subscriptions Setup
  • Listing Subscription Packages
  • Listing Subscription Switching
  • Stripe Payment Gateway Plugin
  •  and more…

Note: The latest version of the WooCommerce Subscriptions plugin is included, but you need to purchase your own license or sign up for a qualifying MyListing Website Care plan if you wish to receive future plugin updates and support.

Premium Assets

Get licensed, premium plugins, valued at over $600 in the first year alone, making a Starter Site investment a no-brainer.

You will get licensed copies of all the plugins listed below, with the exception of the WooCommerce Subscriptions and WooCommerce Product Vendors, and the licenses are yours to keep, for as long as the plugins remain on your website.

  • Admin 2020 ($39)
  • Crocoblock Suite ($130)
  • Elementor Pro ($49)
  • Perfmatters ($25)
  • Permalink Manager Pro ($45)
  • SEOPress Pro ($39)
  • WooCommerce Product Vendors ($79) 
  • WooCommerce Subscriptions ($199)
  • WP Rocket ($49)