Google Font Fix

Description

NOTE: For non-Chinese vistors, they will still use the original links instead of mirror sites.

As we all know, the loading time become longer and longer for Chinese vistors because of the GFW in China.

The vistors are always waiting for loading fonts from fonts.googleapis.com and avatars from Gravatar, until timeout.

To resolve this problem, we developed this plugin and replaced google libraries (//*.googleapis.com) with the service provided by USTC and Cat Networks for Chinese users. For gravatar service, we replaced the links with //cn.gravatar.com/avatar or other alternative mirrors. You can change these proxy URLs in settings page.

After enabling this plugin, user experience becomes much better for WordPress vistors in China.

Screenshots

  • Options Page

Installation

  1. Upload google-font-fix folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy!

FAQ

Installation Instructions
  1. Upload google-font-fix folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy!
Who need this plugin?

It is mainly designed for Chinese WordPress sites. Because these people cannot access the API proviced by Google.
But I think every WordPress site can use this plugin if there are visitors from China.

Reviews

建议功能

先赞插件
选项里可以加一个改变判断ip的选项,使用cdn后的网站REMOTE_ADDR没效果
思路:设置里可以输出所有当前_SERVER的项作为可选项,弄一个列表,然后存储使用的变量名

Read all 3 reviews

Contributors & Developers

“Google Font Fix” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Google Font Fix” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

2.2.2

Update the candidates of proxy URLs.
Thanks to @esterTion.

2.2.1

Fix some bugs.
Thanks to @TkYu.

2.2.0

Add IPv6 support.

2.1.3

Resolve conflicts with other plugins.

2.1.2

Update Test up to value to 4.7.

2.1.1

Create icons for this plugin.

2.1.0

Complete localization for Simplified Chinese.

2.0.0

Create settings page for users to select mirrors of Google and Gravatar.

1.4.0.2

Update the introduction

1.4.0.1

Update the introduction

1.4

Add HTTPS support

1.3.2

Fix some bugs.

1.3.1

Fix some bugs.

1.3

Add accelerator for Gravatar service.

1.2.4

Fix some bugs.
Thanks to @Blueve.

1.2.3

Rename the geoip.inc file.

1.2.2

Fix some bugs.

1.2.1

Fix a bug that the 360’s CDN cannot support https protocol.

1.2

Enable IP detect, only replace the service provided by 360 for Chinese visitors.
Thanks to @skyleft.

1.1

Fix a bug that flush with empty content.
Remove extra trunk/ folder in the plugin.

1.0

Complete the basic functions.