=== Optimum Gravatar Cache === Contributors: jomisica Author URI: https://www.ncdc.pt/members/admin Donate link: https://www.ncdc.pt/members/admin Tags: gravatar-image, gravatar, gravatar-cache, avatar-optimization, avatar Requires PHP: 5.3 Requires MySQL at least: 5.0.95 Requires at least: 4.7 Tested up to: 4.9.1 Stable tag: 1.0.2 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html It cache the gravatars locally, reducing the total number of requests per post. This will speed up the loading of the site and consequently improve the user experience. == Description == WordPress **Optimum Gravatar Cache** is a plugin for allowing you to cache the gravatars locally. In this way it is possible to use the gravatars in a more efficient way. 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 these only a file needs to be downloaded; * Optimize all gravatars by reducing their size and again the transfer time. These are for now the strengths. The plugin is able to use the WordPress gravatars as well as the BuddyPress plugin gravatars. == Languages == 1. English 2. Portuguese ==Dependencies== This plugin depends on the following PHP modules: * php-gd * php-curl == Installation == Install like any other plugin, directly from your plugins page. Go to the plugin settings page at Settings-> Optimum Gravatar Cache, configure for your needs and enable caching. = After Installed = Once installed it is necessary to configure the server so that it can serve the avatars so that they are reassessed every time they are used. In the case of Apache, an .htaccess file is automatically created in the cache directory. In the case of NGinx it is necessary to add the following settings manually. location ~* ^/cache/avatar/.*\.(jpg|png|gif|svg)$ { allow all; gzip_static on; etag off; expires off; add_header Cache-Control "max-age=0"; } location ~* ^/cache/avatar/.*$ { deny all; } Caution: Copy the text directly from the readme.txt file because invalid characters appear here. You must adjust the cache directory accordingly. == Screenshots == 1. In this screenshot we can see the options to configure the cache. 2. In this screenshot, we can see the options that allow you to configure the default avatar. 3. In this screenshot we can see the optimization options. 4. In this screenshot we can see some about the use of the plugin. 5. 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. == Upgrade Notice == = 1.0.2 = * Added option to precompress .SVG files. * When uninstalling the plugin, it is cleaned by removing the options used by it, removing the used table as well as the cache directory. * Added verification of the PHP modules needed for the correct operation of the plugin. * Solve a problem in the updateCache function in order to update the last check of a gravatar even when it has not changed. * Repairing the Portuguese translation in the .po file. = 1.0.1 = * Now the default avatars are already optimized. = 1.0 = * First realese == Changelog == = 1.0.2 = * Added option to precompress .SVG files. * When uninstalling the plugin, it is cleaned by removing the options used by it, removing the used table as well as the cache directory. * Added verification of the PHP modules needed for the correct operation of the plugin. * Solve a problem in the updateCache function in order to update the last check of a gravatar even when it has not changed. * Repairing the Portuguese translation in the .po file. = 1.0.1 = * Now the default avatars are already optimized. = 1.0 = * First realese