Lazy Load for Comments: Optimize WordPress Comments

Last Updated on 7th January 2023 by Ajmer Singh

Did you know comments are also using resources to load?

If you are using Gtmetrix to check your page speed then check the waterfall section.

There you will find all the requests with load times including comments.

Comments are taking time to load and impact the overall performance of your website page performance.

And as we all know the new algorithm where google officially confirms that website loading speed is one of the main ranking factors.

Bloggers take this seriously and start improving their core web vitals.

I already achieved a 95+ performance score and told about that in most of my articles.

But in short, to achieve a loading speed under 1 sec you have to,

  1. Change your server from shared host to Cloud host (Cloudways).
  2. Change your theme from bloated one to speedy one (Themify Ultra).
  3. Start caching HTML, CSS and Java files.
  4. Optimize database.
  5. Connect Cloudflare CDN.

So, how to optimize comments on WordPress websites?

To avoid this issue, we are going to share a plugin that lazy load your comments and improves your page performance.

Name of the plugin: Lazy load for comments

Author: Joel James

Active Installations: 5K+

How To Optimize Comments In WordPress?

1. Activate and Install Lazy load for comments

  • Login to your admin dashboard
  • Click on plugins
  • Add new
  • Search “lazy load for comments”
  • Install
  • Activate
lazyload for comments plugin
lazyload for comments plugin – FindMyTricks

2. Lazy Load Settings for Comments

At your dashboard (on the left), click on settings-discussion.

Scroll down, above the avatars section, you will see the Lazy load comments section.

Then select from the drop-down and check how you want to load the comments.

  • On-scroll
  • On-click
  • No lazy load
Lazy load comments
lazyload options – FindMyTricks

On-scroll:

On-scroll works the same as lazy load images. The comment appears only when you scroll down, not at the same time.

On-click:

We are using on-click on our site. It creates a button type”LOAD COMMENTS”, your comments appear when you click on load comments.

No lazy load:

Disables lazy load. 

Some Features:

  • load comments only when required
  • improve the page loading speed
  • reduce the number of HTTP requests

Conclusion

After these settings, check your score on GTmetrix again. Also, check the waterfall tab for a better understanding.

So, hope you guys understand how to optimize comments in WordPress. 

Have any questions, comment below.