Stop spam without frustrating your visitors

Create your CleanTalk account and start blocking spam — no CAPTCHA challenges and no impact on visitors.

Security Block Lists

CleanTalk Account

No credit card required • Setup takes less than a minute • Your temporary password will be sent by email.

CleanTalk Anti-Spam as a No-jQuery WordPress Plugin for Optimal Performance

·

,

With this update, we polished CleanTalk Anti-Spam to do what it’s supposed to do the best. And here’s what was improved in the plugin in more detail.

What Did We Do

  1. Reducing jQuery Dependency
    • Why jQuery? jQuery was often included to handle some JavaScript tasks but sometimes added extra weight to your website.
    • New Approach: We replaced jQuery with native JavaScript where possible. This will reduce the amount of code needed to load and parse, hence offering faster page load times.
  2. Simplify Handling of AJAX
    • AJAX and Anti-Spam: AJAX helps perform real-time anti-spam checks. However, incorrect AJAX requests may make your website slow.
    • Improved AJAX: We further improved our AJAX handling by reducing the number of requests and enhancing the data transfer process. This will keep the anti-spam checks lean without interfering with the user experience at all.
  3. The debug_ajax Option
    • The debug_ajax option was only given for development purposes and seldom, if ever, used in production environments. To make the plugin core even slimmer, we removed this option.
  4. comments__manage_comments_on_public_page Option
    • That is when comments need to be enabled on a public page. Comment visibility and comment moderation make the option work seamlessly without compromising security.

Results

With these optimizations, you will be guaranteed that your website-essentially pages with an active comment section see a significant improvement in speed and performance that will positively reflect in the visitor experience with better SEO rankings and hence a better overall user experience.

Front-end optimizations are only one part of the performance story, though. A surprising share of CPU, RAM and bandwidth on many sites is still wasted on spam bots instead of real visitors. If you want to see how much server capacity bad bots can consume — and how CleanTalk’s cloud filtering helps to reduce this load — read our article How Much Server Resources Spam Bots Waste (and How CleanTalk Saves Them).

Let’s see what PageSpeed Insights has to say:

Before

2024 12 06 14 01 12

After

1

Update Today

We recommend that you update to the latest release of CleanTalk Anti-Spam to take advantage of these performance enhancements.

Automatic Update:

  1. Check for Updates:
    • Go to your WordPress admin dashboard.
    • Navigate to Plugins > Installed Plugins.
    • Locate the “Anti-Spam by CleanTalk” plugin.
    • You’ll see a “Update Now” button next to the plugin name.
  2. Update the Plugin:
    • Click the “Update Now” button.
    • WordPress will automatically download and install the latest version of the plugin.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *