elm-lang / elm-reactor

Interactive development tool that makes it easy to develop and debug Elm programs.
BSD 3-Clause "New" or "Revised" License
428 stars 63 forks source link

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

Open ChrisZou opened 7 years ago

ChrisZou commented 7 years ago

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 commented 7 years ago

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.