تماس با ما

Do you want to lazy load Gravatars on your WordPress site? Gravatars cause extra http requests which slows down your site’s page load speed particularly on articles with a lot of comments. In this article, we will show you how to lazy load Gravatars in WordPress comments and improve your website speed.

What is a Gravatar?

Gravatar are user profile images used by WordPress. These images are used in WordPress comments and author bio sections.

A user needs to create an account on Gravatar website and submit a profile photo for their email address.

Each time they use that particular email address, WordPress powered websites can automatically fetch their profile photo from the Gravatar website.

To learn more, see our guide on what is a Gravatar and why you should start using it.

Gravatars are great, but they can also affect your site’s page load time.

Each user gravatar adds a HTTP request to your page load. This increases the page wait time for your website and affects user experience.

If you have a website that receives a lot of comments, then it is worth considering lazy loading the gravatar images. Let’s take a look at how to easily lazy load gravatars in WordPress comments.

Lazy Load Gravatrs in WordPress Comments

First thing you need to do is install and activate the BJ Lazy Load plugin. For more details, see our step by step guide on how to install a WordPress plugin.