Google Fonts Slow page loading

Source: Internet
Author: User

Recently in the mall project to find that loading an HTML page reaction is very slow, to see that Google font caused by the slow loading of the page, delete the style will find a lot of content error.

Internet Baidu found the problem is:

Google Hong Kong (google.com.hk) server, has been transferred from Hong Kong to the United States, so the link time will be very long, even intermittent request time-out situation.

Google service is not stable, a large number of independent blog fonts will not be loaded.

To this end, 360 website defender launched a font acceleration service, webmaster As long as modify a line of code, you can use free to 360 website defender Cdn Accelerated font Services.

Workaround: Replace the fonts.googleapis.com with the fonts.useso.com

After modifying the Save, refresh again, we can find that their website speed has been much faster than before, almost instantly can get Google fonts. The reason is that Google fonts that would have been needed from American servers are now spread across 360 of the country's engine rooms.

Google Fonts Slow page loading

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.