How to Lazy Load Disqus

Do you use Disqus on your website? If you test your page speed using a tool like GTmetrix, Google’s PageSpeed Insights, Pingdom, or WebPageTest, you’ll notice a delay. This is caused by JavaScript “blocking,” which needs time to load the comments — regardless if you have any.

A more optimized approach is to lazy load your article’s comments and entice your users to click an element (e.g., a button, a link) if they’re interested in leaving one. The clicking of this element will trigger the Disqus comment load, which significantly improves the user experience for everyone.

Take a look at how to do this here: Load Disqus on Click and Scroll Events by Rahul