How To Cache Gravatar Images in WordPress {For Faster Site Loading}

Is Gravatar Images increasing the load time of your website? These days almost every website owner has gravatar in the Author box. And at the same time, you will be able to see the gravatar’s for the commentators as well which is quite sensible as the website look more genuine and authentic with avatars.

But, yes it slows down the website speed. As gravatar’s pulls the images to load from each and every commentator’s gravatar server’s. Which is definitely attached to the individual email address.

Hence while loading the images the website has to make several HTTP’s requests, which dramatically increases the load time. And if your website receives several comments, then your users have to suffer a lot.

Impact of Gravatars on your WordPress Website

Check out an example of site tested in GTMetrix making the HTTP request to load all in Leverage Bowser Caching. Most of the requests are being made from Gravatar.

Cahce Gravatar

As it can be seen in the above list one post has to make so many requests to load it. And those all from the comments, is that meant you should stop accepting comments?

Nah… not at all. Comments are good for your website. It good to find out an alternate solution to speed up your website.

You might be using optimization plugins for your WordPress site and caching the images of your site. But it won’t help out gravatar at all. So, how about caching gravatar images and increase the site optimization to the further level.

Cache Gravatar Images in WordPress

Let’s jump into and see how we can Cache gravatar images for better user experience.

Head over to your WordPress dashboard and install FV Gravatar Cache Plugin for your WordPress website. You can install and activate it from the WordPress search Option as well.

FV Gravatar Cahce

Once the plugin is activated, navigate to SettingsFV Gravatar Cache from the WordPress dashboard.

It will open the FV gravatar cache plugin settings page, which looks very simple and thankfully don’t have to do a lot to make the plugin working.

Cache gravatar images in wordpress

From the bottom of the FV Gravatar cache settings page, Click on the Run Con Now button.

That’s it the plugin will start working on your WordPress website and cache all the gravatar images for you. And Finally, results can be seen in the Cache Information section(Just click on the Show link).

Note: This might take a few minutes, all depends a number of images have to be cached.

And, finally, Click on save changes button.

There are times when the users keep on changing the gravatar profile images. So its always good to show the updated blog commentators avatars in your website. So what now, as the images are already cached on your WordPress hosting server. Considering this, the plugin developed have already incorporated an option.

All you need to do is Check the Daily Chron feature. That’s it the plugin will make sure that it features the updated images, as it will sync with gravatar at some intervals. And that will help not requesting in the real-time.


It’s a great plugin to have on your WordPress website. Cache the gravatar images on your own WordPress server and be out of the worry about your site loading. It will dramatically optimize and enhance the site performance.

Do share this article on Facebook, Twitter etc. if you found it helpful. Thanks!


Don't Hesitate, Leave a Reply...!

newest oldest most voted
Notify of
David Attard

Hey Navin,
This was incredible, very useful. As Gravatar’s impacts hard in loading the website.

This plugin goes well and solves the issue with an ease. Well coded plugin with very minimal and clean settings page.

Vishwajeet Kumar

Hello Navin,

Thanks for sharing this beautiful plugin and I am definitely going to use it on my blog. Gravatar images is drastically impact a blog performance.

have a great day 🙂

Shafi Khan

Hi Navin,

That’s a good way to reduce loading time. Gravatar profile pics can take a lot of time in loading especially in cases when your site gets 100+ comments.

Although the above method would work flawless, another tweak would be to use a “click to show comments” where comments aren’t loaded at beginning but only when a user requests it.

Thanks for sharing, btw.


Shafi Khan


Subscribe To QuestionCage

Glad to see your Visit at QuestionCage!

One more step to connect ahead "Subscribe to Us" and get the updates to your inbox directly.

You have Successfully Subscribed to QuestionCage!