For a while now I've been having a big problem with my forum (https://wranglertjforum.com) in which when you go to make a new post and press the "post reply" button, it would take 10+ seconds for the reply to actually post. Same thing when deleting a thread, editing a thread, etc.
I used the web inspector console and found that the core-compiled.js file was taking the longest to load (upwards of 10+ seconds).
I decided to use ChatGPT to help me diagnose and it led me to monitor MySQL while testing the replies. That led me to this being the problem:

I was getting so many bots hitting the server using the "search" function that it was bogging down resources on the server.
I implemented a Cloudflare rule to block searches for guests (may change it to a rate limited rule potentially) and just within the past 24 hours that rule has been active it's blocked over 7k requests.
I just wanted to share this here in case anyone ever runs into a similar issue. This took me a long time to figure out and it was ChatGPT that finally helped me to do it.
Some people rip on Cloudflare but I really, really like it. The amount of bot traffic it's allowed me to block is amazing. Not only that but I love how much control I have over things with the security rules and analytics. For $20 a month it's highly worth it to me and has been a very effective tool at blocking out increasing bot traffic.
I used the web inspector console and found that the core-compiled.js file was taking the longest to load (upwards of 10+ seconds).
I decided to use ChatGPT to help me diagnose and it led me to monitor MySQL while testing the replies. That led me to this being the problem:

I was getting so many bots hitting the server using the "search" function that it was bogging down resources on the server.
I implemented a Cloudflare rule to block searches for guests (may change it to a rate limited rule potentially) and just within the past 24 hours that rule has been active it's blocked over 7k requests.
I just wanted to share this here in case anyone ever runs into a similar issue. This took me a long time to figure out and it was ChatGPT that finally helped me to do it.
Some people rip on Cloudflare but I really, really like it. The amount of bot traffic it's allowed me to block is amazing. Not only that but I love how much control I have over things with the security rules and analytics. For $20 a month it's highly worth it to me and has been a very effective tool at blocking out increasing bot traffic.
