Google Font Fix

Descrição

NOTE: For the vistors from outside Mainland China, they will still use links to the original site instead of the mirror site.

As we all know, the loading time becomes 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 for a long time.

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

After enabling this plugin, the user experience becomes much better for the vistors from Mainland China.

Ecrãs

  • Options Page

Instalação

  1. Upload google-font-fix folder to the /wp-content/plugins/ directory
  2. Active o plugin no menu Plugins
  3. Enjoy!

Perguntas frequentes

Who need this plugin?

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

Avaliações

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

Contribuidores e programadores

“Google Font Fix” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Google Font Fix” para o seu idioma.

Interessado no desenvolvimento?

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

Registo de alterações

2.3.1

Update the mirrors.

2.3.0

Remove the mirrors that are no longer working from the settings page.

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.