Using PageSpeed may get your website blocked in China

vbimport

#1

We’ve just posted the following news: Using PageSpeed may get your website blocked in China[newsimage]http://static.myce.com//images_posts/2012/02/GoogleCensorship.jpg[/newsimage]

From our testing, Myce which uses the Google service PageSpeed is inaccessible from within China, but when PageSpeed is bypassed, the website is accessible. It appears that PageSpeed is affected by the Great Firewall of China in addition to other Google services such as Gmail.

            Read the full article here: [http://www.myce.com/news/using-pagespeed-may-get-your-website-blocked-in-china-74065/](http://www.myce.com/news/using-pagespeed-may-get-your-website-blocked-in-china-74065/)

            Please note that the reactions from the complete site will be synched below.

#2

A very interesting piece of research.


#3

So that’s why we haven’t had any good old Chinese spam lately…


#4

^ That indeed appears to be the case. I went through the banned spammer table going back to September and there was just a single Chinese IP address, which registered over a year ago and recently spammed the forum using a US proxy based on its post IP address.


#5

Why did you edit the hosts file instead of just putting the IP address directly in the browser ?


#6

Our server hosts multiple domains (myce.com, club.myce.com, liggydee.cdfreaks.com, etc.) so typing in the IP address results in the server issuing the default page as the browser does not provide the domain name to fetch. Our server’s default page basically says that the server is working and then automatically redirects to club.myce.com. As a result, the browser would then do a DNS lookup on club.myce.com which resolves to Google’s Pagespeed IP and in turn would fail to load in China.

So by using the hosts file, the DNS lookup resolves by the hosts file to our direct server IP address, so when the browser fetches let’s say “www.myce.com”, the server knows that the browser is requesting that domain in the GET request (which an IP address alone does not specify) and delivers the webpage.

You can also try this yourself. For example, club.myce.com resolves to 74.125.24.121 at this time of checking. If you type in http://74.125.24.121/ into your browser (or just click this link), you’ll get an error page as Google’s PageSpeed does not know what website you’re looking for as Google’s server received a GET request for ‘74.125.24.121’ intead of ‘club.myce.com’.


#7

Ah, oK then, thanks.