In early June, I added an announcement in the VPSAA client center about the relationship between slow website loading andgoogle. Initially, I thoughtgoogle‘s blocking in China would be a temporary phenomenon. However, June is already half over with no signs of unblocking. Becausegoogle’s blocking in China has caused widespread slow website access, affecting many software including commonly used WordPress, Typecho, and IDC financial systems like WHMCS. Therefore, I’m writing this article to draw attention to this issue. If you find your website loading slowly, check this out.
google2:,JS。wordpress,wordpress,,Home,google。:
123 |
<link rel='stylesheet' id='open-sans-css' href='//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&#038;subset=latin%2Clatin-ext&#038;ver=3.8.3' type='text/css' media='all' /> <link rel='stylesheet' id='twentyfourteen-lato-css' href='//fonts.googleapis.com/css?family=Lato%3A300%2C400%2C700%2C900%2C300italic%2C400italic%2C700italic' type='text/css' media='all' /> |
wordpress,google?wp3.8,。,10Home,。
Aboutwordpressgoogle,:
1.(,),Search:Disable Google Fonts,,;
2.fonts.googleapis.comfonts.useso.com,360,functions.php,。,;
3.Searchfunctions.php,:
12345678910111213 |
//Googlefontclass Disable_Google_Fonts { public function __construct() { add_filter( 'gettext_with_context', array( $this, 'disable_open_sans' ), 888, 4 ); } public function disable_open_sans( $translations, $text, $context, $domain ) { if ( 'Open Sans font: on or off' == $context && 'on' == $text ) { $translations = 'off'; } return $translations; }}$disable_google_fonts = new Disable_Google_Fonts;
|
4.,,。wordpress,googleJS,typecho,,:
1 |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
,js,。,googleWHMCS,WHMCS,,;WHMCS,。,google,google,gmailEmail,,,google,。
via http://www.zrblog.net/13203.html
