It cache the gravatars locally, reducing the total number of requests per post. This will…
|Author:||José Miguel Silva Caldeira (profile at wordpress.org)|
|WordPress version required:||4.7|
|WordPress version tested:||5.0.3|
|Added to WordPress repository:||12-10-2017|
|Total downloads:||1 589|
Click to start download
In this screenshot we can see the options to configure the cache.
In this screenshot we can see a comparison of the files that are downloaded when the plugin is in use and when it is not.
In this screenshot, we can see the options that allow you to configure the default avatar.
In this screenshot we can see the optimization options.
In this screenshot we can see the options to configure Apache Server with the .htaccess file.
In this screenshot we can see the options to configure the NGinx Server.
In this screenshot we can see more options
In this screenshot we can see the options for Lazy Load
In this screenshot we can see the page where we can enter the account data to use Coudflare
In this screenshot we can see some data of the cache of the plugin
I need help
Check out the WordPress support forum
I have a great idea for your plugin!
Does the plugin work with Page Cache plugins?
Yes, the plugin works with the following list of page cache plugins:
- WP Super Cache
The plugin clears the cache of pages and posts that contain a particular Gravatar that has been updated.
Other plugins that offer a way to clear the cache for a given post / page as well as the entire cache will be added in the future.
Does the plugin support Cloudflare?
Yes, the plugin allows you to clear the Gravatars cache in Cloudflare.
Does it work well for new commenters?
Yes works well with new commenters. It is not necessary to be a registered user comment.
Do you periodically check to update the gravatars in case they are changed?
Yes, it is checked if the avatars have been updated on Gravatar.com and whenever they are updated there, they will be updated locally in the cache.
How can I add extra classes to Gravatars
Through the plugin configuration pages.
Go to the “Other Options” plugin configuration page and add the classes you need.
Using the wordpress get_avatar() function through themes or plugins.
<?php echo get_avatar ($id_or_email, $size, $default, $alt, array("class"=>"class1 class2")); ?>
Using the buddypress function bp_member_avatar() through themes or plugins
<?php bp_displayed_user_avatar (array ('type' => 'full', 'width' => 150, 'height' => 150, 'class' => 'class1 class2')); ?>
- Now a “wp_optimum_gravatar_cache_urls” table that was created for debugging purposes is removed if it exists when the plugin is activated, the table was accidentally included in version 1.4.0.
- Now a better check is made for the existence of plugin options.
- Fixed: Now when there is support for imagick, but the imagick does not support SVG no longer gives fatal error. It happened when converting the default avatar of type .svg to use with the ‘= d’ option of gravatar.com.