-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS file loading fail in China #1870
Comments
👋 @magaofei |
If we can retrieve the user's location, we can replace Google Fonts with a CDN service that mirrors Fonts and Libraries from Google API, to serve visitors from China. UnfortunatelyI could not find any such service, One service that did work called useso libraries has stopped providing this service since August 31, 2016. If we find an equivalent service then we can mitigate this issue |
This can be fixed by self hosting fonts. For example for https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700 needs around 10+ font files to be saved locally. Unfortunately, we use a couple of google fonts and the no of files requires increases. It is a tedious work, and I am not prioritizing this. If anyone is interested, they can help in collecting all font files and then doing a PR. |
Tracked separately |
the page loading time is more than 15 seconds.
Because live-in China users do not access
fonts.googleapi.com
site.Could we put the font file in the code repository or use CDN?
The text was updated successfully, but these errors were encountered: