Troubleshooting High resource usage because of RapidLoad

RapidLoad 2.0 is a phenomenal tool for CSS optimization. However, like any technology, there can be moments where it seems to consume more resources than expected. A common cause of this can be a high number of URLs for RapidLoad to process. If you're experiencing this issue, follow these steps to resolve it.

Step 1: Reviewing Your URLs

The first step in troubleshooting high resource usage in RapidLoad 2.0 is to review the list of URLs that the plugin is set to process. This list can sometimes include URLs that aren't necessary for your optimization goals.

To review your URLs, head over to the Legacy Dashboard in your RapidLoad settings. You can find this by going to your WordPress dashboard, then General Settings, select 'Legacy Options', and finally 'Legacy Dashboard'. Here, you will see a list of all the URLs that RapidLoad is currently processing.

Go through this list and check for any URLs that don't need to be included. These might be URLs for pages that are no longer active, for example, or for sections of your site that don't need CSS optimization.

Exclude Unwanted URLs

Once you've identified any unwanted URLs, you can exclude them from being processed by RapidLoad.

To do this, look for the "Exclude URLs" option in the RapidLoad General settings. In the text field provided, enter the URLs that you want to exclude, each on a new line.

After you've entered all the URLs you want to exclude, click the "Save" button. RapidLoad will now ignore these URLs when processing your site's CSS, which should help to reduce its resource usage.

Step 2: Group URLs for Pages with More Than 200 URLs

If you have pages with more than 200 URLs, another option is to use the "Group by Pages" feature. This feature tells RapidLoad to process all the URLs with the same CSS files as a single group, rather than individually.

To use this feature, navigate to the CSS delivery page and look for the "Group by Pages" option. Check the box next to this option to enable it. And click “Settings”

Once again, remember to save your changes. With this feature enabled, RapidLoad should use significantly fewer resources when processing pages with a large number of URLs.

By carefully managing the URLs that RapidLoad processes and taking advantage of its "Group by Pages" feature, you can reduce the plugin's resource usage and ensure that it continues to improve your site's performance without overloading your server. Remember, each site is unique, so it may take a bit of fine-tuning to find the optimal settings for yours.