Using Disqus as a WordPress Comment System? Better use Disqus Conditional Load (DCL) Plugin

Last updated
App Shah
Crunchify » WordPress Optimization and Tutorials » Using Disqus as a WordPress Comment System? Better use Disqus Conditional Load (DCL) Plugin
Using Disqus as a WordPress Comment System? Better use Disqus Conditional Load (DCL) Plugin

As of July 2022, we moved away from Disqus as our comment system.

Continue reading if you are using Disqus on your site. This article is must read for it 🙂

With strict moderation, awesome comment spam control, better subscription options, enhanced admin area, Disqus is one the best and widely used comment system for all bloggers.

So, why this post?

Well, on each page load, Disqus loads multiple javascript and css files. Take a look at below files:

  • http://crunchify-com.disqus.com/embed.js
  • https://a.disquscdn.com/next/embed/styles/loading.88cedde79846569c88b36b63a7cc7414.css
  • https://disqus.com/embed/comments/?base=default&version=e8b1cd89………
  • Sync action: ?cf_action=sync_comments&post_id=7526
  • Plus some inline JavaScripts and CSS code

In my opinion, there is absolutely no need to load all of these resources on each page. Ideally page should load comment form only when it’s required, like on mouse scroll and when comment form is visible.

How to load Comment form conditionally then?

Answer is very simple. Try following below steps:

Step-1

Download and Install Disqus Conditional Load (DCL) Plugin.

Step-2

Go to DCL Setting Tab and enable below settings:

  • How to Load Disqus: On Scroll
  • Count Script: Disable
  • Caching Support: Disable
  • Rocket Loader Support: Disable

Step-3

  • Disable and Delete Disqus Official Plugin
  • Clean your site cache and reload your page

Take a look at below GIF – Disqus is loading so many data which is absolutely not required until user reaches comment section.

Let me know if you have any more WordPress Optimization Tips and Tricks which you would like to share.

I’m always here to listen your feedback.

20 thoughts on “Using Disqus as a WordPress Comment System? Better use Disqus Conditional Load (DCL) Plugin”

    • Hi Barkin – you need to try modifying your theme’s style.css file.

      Plugin comes with standard CSS. Right click on “Load button” and you could checkout CSS properties for the same.

      Hope this helps.

      Reply
    • Hi There – I think you need to do custom setting into your Theme. Try adding some more padding after your content.

      Something like this:
      .g1-comments {
      margin: 0 auto;
      padding-top: 50px;
      }

      Reply
  1. Hi, thanks for this great tip! I’m a long time follower of your website and tries to use as many tips as possible to optimize my website

    I have one question in regard to the DCL plugin that I hope you can clearify for me.

    If I’m using cloudflare Rocket Loader – should I enable the Rocket Loader support or will the website speed be best with it disabled?

    Hope you can help me. Kind Regards.

    Reply

Leave a Comment