Gravatar is a service which comes pre-loaded with each WordPress weblog.
All these photographs you see in remark type right here at WPSaviour, or most any WordPress weblog, comes from Gravatar.com.
Now, one drawback with utilizing Gravatar is that it will increase the loading time by performing a DNS question, thus slowing down our website.
If you’re new to Gravatar, it is best to learn my earlier put up: Gravatar Provides Photographs To WordPress Feedback & Profiles.
Of all of the WordPress cache plugins we use, none of them cache Gravatar, and we miss out on one other step of WordPress optimization. One resolution is to not use Gravatar in any respect, however I wouldn’t recommend that because it helps within the branding of your authors and commentators.
Additionally, it makes feedback look extra real, as photographs add one other degree of belief.
So what’s the easiest way to cache Gravatar in WordPress?
FV Gravatar Cache WordPress Plugin:
FV Gravatar Cache is a straightforward WordPress plugin which simply caches Gravatar. It is a plug and play plugin; when you allow it, you solely must make some modifications in line with your want.
For instance, you possibly can outline a customized location for cached Gravatar photographs. Additionally, relying in your theme, it’s also possible to outline the scale of the Gravatar which you need to cache. It’s a good suggestion to maintain it the identical as what you might be utilizing in your remark packing containers.
- Learn: Greatest WordPress Cache Plugins
Here’s a screenshot of the settings web page of the FV Gravatar Cache plugin:
After the primary arrange, it is best to click on on “Run Cron Now” to start out caching photographs from Gravatar. You may refresh the web page to see the complete variety of cached photographs.
- Learn: WordPress Plugins I Use Right here At WPSaviour
I put in this plugin a couple of months again, however at this time after transferring to Knownhost, after I was cleansing my website’s backend, I discovered this plugin and notice it’s very helpful for each WordPress weblog.
If you’re displaying Gravatar photographs in your weblog, it is best to go forward and set up this plugin.
You may obtain this WordPress plugin from the official WP repo. Additionally, if you want to hurry up your website additional, it is best to disable the Gravatar Hovercard function from the WordPress Dialogue settings.