该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

GravatarLocalCache

描述

With this plugin you can cache gravatar images on your server (and they will be delivered with the cache settings of your webserver).

Please report bugs and/or feature-request to our ticket-system: Bugtracker/Wiki.
For Support, please use the forum.
Latest development news: Twitter.

ToDo

  • [NEW] cronjob to refresh cached images

安装

  1. Upload the ‘GravatarLocalCache’ folder to ‘/wp-content/plugins/’
  2. Activate the plugin through the ‘Plugins’ menu in the WordPress admin
  3. Adjust the caching time on the options page (default: 3 days)

常见问题

The loading time of my website is very high?

This can happen, if there are many gravatar images that need to be updated…
Shoudn’t be a problem since version 0.9.2.

Gravatars aren’t cached, whats the problem?

GravatarLocalCache depends on the use of get_avatar() (a WordPress function).
If your plugin/theme doesn’t use this function, GLC can’t fetch the gravatar requests. Ask the author of the plugin/theme to use “get_avatar()”.

How can i change the cache/proxy-settings of the images?

If you use apache as your webserver, you can set the options throught .htacces as described here (german) , here or here.
For other webservers you have to check the manual.

For any further questions, please use the support forum.

评价

2017 年 2 月 7 日
1. not working in widget 2. destroy any avatars icons here: /wp-admin/options-discussion.php and tring to caching it, but 404. 1. working in comments
阅读所有2条评价

贡献者及开发者

“GravatarLocalCache” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“GravatarLocalCache”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.2

  • [FIX] save options

1.1.1

  • [FIX] updated to latest WordPress-API-calls (WP >=3.3.0 required)

1.1.0

  • [NEW] “auto”-delete files older than cache time/cachecleanup

1.0.2

  • [FIX] open_basedir-restriction error (thx BenBE)

1.0.1

  • [FIX] compatibility release for wp3.0

1.0.0

  • [NEW] some more stats
  • [NEW] dashboard widget with some stats
  • [NEW] german translation
  • [FIX] cache directory moved to wp-content/glc_cache
  • more information

0.9.5 (1.0.0 RC4)

0.9.4 (1.0.0 RC3)

  • [FIX] default gravatar (mystery only)

0.9.3 (1.0.0 RC2)

  • [NEW] wordpress setting for the default gravatar is now used
  • [FIX] if there is a problem with the cache directory, some debug information will be displayed
  • [FIX] possible duplicate constant

0.9.2 (1.0.0 RC1)

  • [NEW] number of gravatars to be fetched is now limited (max 3 per page)
  • more information

0.9.1

  • [FIX] path/url

0.9.0

  • [NEW] initial release