Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Loading fonts from googleapis makes the page take a long time to load in China. #216

Open
ChrisZou opened this issue Nov 19, 2016 · 1 comment

Comments

@ChrisZou
Copy link

Hi, I really like Elm and spent a lot of time on it. Today, I found that when I use the Elm reactor(version 0.18.0) to serve my Elm file, the generated html would try to load some fonts from googleapis.com

@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro);
html, head, body {
  margin: 0;
  height: 100%;
}

This would make the page take a long time to load in some areas like China, since we cannot connect to most of the google sites(including googleapis.com). So would you please remove the fonts loading from googleapis or make it async so that it would not block the content loading?
Thank you for the wonderful job!

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@ChrisZou ChrisZou changed the title Avoid loading fonts from googleapis Loading fonts from googleapis makes the page take a long time to load in China. Nov 19, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants