Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Waiting for googleapis.com blocks loading the page #198

Open
sgon00 opened this issue Jan 14, 2015 · 3 comments
Open

Waiting for googleapis.com blocks loading the page #198

sgon00 opened this issue Jan 14, 2015 · 3 comments

Comments

@sgon00
Copy link

sgon00 commented Jan 14, 2015

In the beginning, I saw an issue titled "Browser gets no response....". I thought that was my issue. Then I followed that instruction and installed genghisapp-3.0.0.dev.gem.

Finally, I figured out what my real problem is. I am in China and google is blocked here. Failing to get http://fonts.googleapis.com/css?family=Rokkitt:400,700|Source+Code+Pro blocks loading the page for more than 2 minutes.

I am not a ruby developer. Normally, failing to get some css resources will not block other page resources to be loaded. I don't know why genghisapp failed to load anything (just blank white page) and wait for this css resource more than 2 minutes. Thanks.

@bobthecow
Copy link
Owner

I'm sorry, that sounds like an awful user experience.

Browsers actually block until all external CSS files have loaded or timed out. In this case, it's not failing fast (like a 404 would) so it waits until the default browser timeout before failing. I'll look into what I can do about it.

@bobthecow
Copy link
Owner

In the interim, if you comment out that line from the base template, rebuild, and reinstall the dev gem, you should be able to load it without that huge delay.

@sgon00
Copy link
Author

sgon00 commented Jan 15, 2015

Got it, thanks a lot. :)

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