Optimum Gravatar Cache

plugin banner

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.4.1
Plugin version:1.4.7
Added to WordPress repository:12-10-2017
Last updated:05-05-2020
Rating, %:100
Rated by:3
Plugin URI:https://www.ncdc.pt/groups/wordpress-optimum-...
Total downloads:3 518
Active installs:100+
plugin download
Click to start download

Optimum Gravatar Cache allows you to create a local cache with optimized copies of gravatars. The optimization is accomplished by resizing the avatars to the sizes used on your site, in addition to optimizing the images internally. Optimizations are performed to minimize the size of each avatar served by the plugin.

The plugin uses WordPress CRON to perform heavier tasks. Avatars are resized in the background. Avatars are optimized internally in the background. Except in certain cases where it is necessary to resize the avatars in the page request.

The plugin handles all your site’s gravatar as long as the wordpress get_avatar() function or buddypress bp_member_avatar() function is used. Works with plugins, themes, etc.

The plugin allows you to customize the avatar by default. This avatar is served whenever the user / visitor does not have a custom gravatar. This greatly reduces the number of requests made by your page, improving the user experience. Besides allowing to frame the avatar by default with the theme of your site.

The plugin, after being configured and activated, starts by serving gravatar for all. And it begins to create the cache dynamically in the background with the sizes being collected by the requests, as well as those configured on the plug-in page. When the avatar already exists in the cache, the plugin serves the avatar in cache. The plugin periodically checks to see if the user updated their gravatar on gravatar.com if yes is updated locally. This way, keeping an updated cache.

The plugin intends the following:

  • Work with the gravatars locally, cache;
  • Reduce the number of requests per page, thus reducing the total time required to load all files. This is achieved because most users do not have a custom gravatar, and for those, only one file needs to be downloaded;
  • Optimize all avatars by reducing their size and transfer time again.

Please if you find any bugs of any kind please contact me so that I can solve it as soon as possible.

Languages

  • English en_GB (@willstockstech)
  • Portuguese pt_PT (@jomisica)

Help translate this plugin into your language

Dependencies

This plugin depends on the following PHP modules:

  • php-gd or php-imagick (So that it can resize the avatars)
  • php-curl (So that it can communicate with the gravatar using the same connection to update several avatars)

The plugin also depends on WordPress CRON to be able to solve the heaviest tasks in the background.


Screenshots
FAQ
ChangeLog