fonts.googleapis.com ajax.googleapis.com wordpress Loading Slow Solution "go"

Source: Internet
Author: User

Open WordPress website, find always prompt in loading fonts.googleapis.com or load ajax.googleapis.com cause the website to open very slow. Recently, Google's servers in Hong Kong have moved back to the United States, so that the mainland can not open all Google-related pages and products. Query for half a day, and finally found a more complete solution to the optimization solution one: is to call the Google file link to the domestic link. In your background theme editor, ctrl+f the search keyword "Google" in all the files, If you find the relevant Google links such as fonts.googleapis.com you can put this file (may download need to turn over the wall specific I did not try) downloaded down to their website after the replacement of the file link to their own website. In this respect, the 360 site defender's solution is to replace the fonts.googleapis.com with fonts.useso.com; will resemble ajax.googleapis.com/ajax/libs/jquery/1.7.2/ Jquery.min.js is replaced with Ajax.useso.com/ajax/libs/jquery/1.7.2/jquery.min.js. There may be links to Google css files are: wp-includes/script-loader.php, functions.php, index.php, header.php, in addition to some plugins may also have Google links, which requires you to close the plugin to see if the site is open quickly to determine which plug-in containing google links. Solution Two: The code containing the Google link is commented out, this is the reason we should understand. Note The following example (Add//On the front of the Code)://wp_register_style (' Underthesea-pacifico ', "$protocol://fonts.googleapis.com/css?family= Pacifico ") fonts.googleapis.com ajax.googleapis.com wordpress Load Slow solution   Original address:/HTTP Blog.sina.com.cn/s/blog_58fe9c3b0101np0r.html
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.