Delaying Disqus comments to save (a ton of) requests


#1

If you use Disqus on your page using the standard template, you may have noticed that Disqus does about 40 requests on every page, which is a lot. I recently implemented a way to only show Disqus comments on a button click. That way only users who want to comment or read comments get the 40 requests. I think you may also find it useful. Here is the post describing my implementation: https://blog.kulman.sk/delaying-disqus-comments-to-save-requests/


#2

Great idea, thank you for sharing!

Clicking to see the disqus for may reduce the number of comments. Yet with an event to wait for the whole document to load and another to check if that area is visible on screen, you can get the same performance gain and make the user’s life easier.


#3

Thank you for sharing this! I am using this on my blog and it is awesome!