# Delaying Disqus comments to save (a ton of) requests

**URL:** <https://discourse.gohugo.io/t/delaying-disqus-comments-to-save-a-ton-of-requests/6847>\
**Category:** tips & tricks\
**Created:** [June 3, 2017, 2:10pm UTC](https://discourse.gohugo.io/t/delaying-disqus-comments-to-save-a-ton-of-requests/6847 "2017-06-03T14:10:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor\_Kulman](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/igor_kulman/32/901_2.png) [@Igor\_Kulman](https://discourse.gohugo.io/u/Igor_Kulman)\
**Post date:** [June 3, 2017, 2:10pm UTC](https://discourse.gohugo.io/t/delaying-disqus-comments-to-save-a-ton-of-requests/6847/1 "2017-06-03T14:10:46Z")

</div>

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/](https://blog.kulman.sk/delaying-disqus-comments-to-save-requests/)

---

<div class="post-metadata">

**Author:** ![brunoamaral](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/brunoamaral/32/21144_2.png) [@brunoamaral](https://discourse.gohugo.io/u/brunoamaral)\
**Post date:** [June 3, 2017, 8:29pm UTC](https://discourse.gohugo.io/t/delaying-disqus-comments-to-save-a-ton-of-requests/6847/2 "2017-06-03T20:29:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![AbhinavSThakur](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/abhinavsthakur/32/4957_2.png) [@AbhinavSThakur](https://discourse.gohugo.io/u/AbhinavSThakur)\
**Post date:** [January 14, 2018, 7:56am UTC](https://discourse.gohugo.io/t/delaying-disqus-comments-to-save-a-ton-of-requests/6847/3 "2018-01-14T07:56:15Z")

</div>

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