Disqus vs. WordPress Comments

March 24, 2016 2:40 am Published by Leave your thoughts

I am a WordPress enthusiast and I am passionate about everything WordPress.

Having said that, there are two functionalities I can’t even defend about WordPress.

Site search and comment system.

These two native WordPress functions are actually horrible.

So for search function, I simply use google search on my site.

As for comments, I’ve stuck with Disqus from the beginning.

Despite less than ideal comment functionality of WordPress, many people stick with native WordPress comments because they think it is faster than other 3rd party comment plugins.

Well, that may be the case for all other 3rd party comment plugins except Disqus loaded asynchronously or after scrolling begins.

disqus_vs_wordpress_comment_speed

http://tools.pingdom.com/fpt/#!/dJw9Ji/http://hackya.com/ko/%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4%EB%A5%BC-%EB%B9%A0%EB%A5%B4%EA%B2%8C-%ED%95%98%EA%B8%B0/

http://tools.pingdom.com/fpt/#!/dOgSK0/http://hackya.com/ko/%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4%EB%A5%BC-%EB%B9%A0%EB%A5%B4%EA%B2%8C-%ED%95%98%EA%B8%B0/

http://tools.pingdom.com/fpt/#!/tL9Tn/http://hackya.com/ko/%EC%9B%8C%EB%93%9C%ED%94%84%EB%A0%88%EC%8A%A4%EB%A5%BC-%EB%B9%A0%EB%A5%B4%EA%B2%8C-%ED%95%98%EA%B8%B0/

I’ve done some loading test on Pingdom and as you can see, Disqus is faster than WordPress native comment.

So how do you load Disqus API conditionally?

Disqus API is basically a javascript file.

So to load Disqus comment on scroll, you can apply a simple if else statement.

If the page began scrolling,

if ($(this).scrollTop() + $(window).height()  > scrollFromTop) {

load Disqus.

That’s it.

If this sounds confusing/you are not a developer, there is this excellent plugin by Joel James you can use.

https://wordpress.org/plugins/disqus-conditional-load/

Tags: , ,

Categorized in:

This post was written by hackya

Leave a Reply

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