Jump to content

Handling CPU load spikes or high load using Cloudflare.


adamlg

Recommended Posts

FYI anyone having load spikes, or other high load issues I have found a possible solution. Providing that you have your own domain, and run it through Cloudflare, you can set page rules. In your CF account under your domain look for "Rules>Page Rules" then +add rules. Here is an example of what I set up. It seems to be working. My load was looming upwards of 7500. Now stable under 1700.

*Wordpress users can also use "Super Page Cache for Cloudflare" plugin for WP, and set even more customization. I recommend turning off automatic updates. I would also recommend removing any themes you are not using as well as unused plugins. 

scrnli_11_14_2023_8-12-41AM.png.501202e7fc531261c1f0d64266273626.png
 
Edited by adamlg
Added tags and additional information about Wordpress
Link to comment
Share on other sites

 

On 11/14/2023 at 8:32 AM, adamlg said:

FYI anyone having load spikes, or other high load issues I have found a possible solution. Providing that you have your own domain, and run it through Cloudflare, you can set page rules. In your CF account under your domain look for "Rules>Page Rules" then +add rules. Here is an example of what I set up. It seems to be working. My load was looming upwards of 7500. Now stable under 1700.

*Wordpress users can also use "Super Page Cache for Cloudflare" plugin for WP, and set even more customization. I recommend turning off automatic updates. I would also recommend removing any themes you are not using as well as unused plugins. 

scrnli_11_14_2023_8-12-41AM.png.501202e7fc531261c1f0d64266273626.png
 

What do I enter for tthe URL domain.com/ or domain.com/* ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...