Description of problem:
For users that cannot connect to Google, Zanata is very slow.
It took about 1 min for each navigation.
For example, it took 1 min and 8 second from IBus-Chewing project page
to master branch in https://fedora.zanata.org
Version-Release number of selected component (if applicable):
Zanata 3.5.1 (git-server-3.5.1)
Steps to Reproduce:
1. Run following command to block Google services (iptables)
iptables -I INPUT -s 184.108.40.206/16 -j DROP
iptables -I INPUT -s 220.127.116.11/16 -j DROP
iptables -I INPUT -s 18.104.22.168/16 -j DROP
iptables -I INPUT -s 22.214.171.124/16 -j DROP
iptables -I INPUT -s 126.96.36.199/16 -j DROP
iptables -I INPUT -s 188.8.131.52/16 -j DROP
iptables -I INPUT -s 184.108.40.206/16 -j DROP
2. Ensure you get no connection with Google by
ping -c 5 fonts.googleapis.com
ping -c 5 google.com
3. Log In to https://fedora.zanata.org or any other server
4. Search ibus-chewing
5. Go to ibus-chewing project page
6. Go to master branch
From 3. Each operation was extreme slow, took about 1 minute to complete each step.
Speed difference should not be significant.
This should fix the render blocking problem: https://github.com/zanata/zanata-server/pull/672
Actually now https://github.com/zanata/zanata-server/pull/673
VERIFIED with intergrate master commit ee36059d40141c68125073c97710087ac8522c26
VERIFIED with release Zanata 3.6.0-SNAPSHOT (git-jenkins-zanata-server-verify-integration-master-3978-SUCCESS-1-g9e86c7d)