Re: [pgsql-www] Viewing Postgres website from China - Mailing list pgsql-www

From Joshua D. Drake
Subject Re: [pgsql-www] Viewing Postgres website from China
Date
Msg-id f741cb5b-702f-e843-de84-3c29e769cf57@commandprompt.com
Whole thread Raw
In response to [pgsql-www] Viewing Postgres website from China  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [pgsql-www] Viewing Postgres website from China
List pgsql-www
On 10/12/2017 06:11 PM, Bruce Momjian wrote:
> As you might know, China blocks Google web addresses in their
> country-wide firewall.  Unfortunately, our website hangs for me when
> I access this PG URL from China:
> 
>     https://www.postgresql.org/list/
> 
> It hangs reading information from ajax.googleapis.com.  Eventually it
> times out and displays the page, but it takes a few minutes.  Any use of
> that page, like viewing search result detail, also delays.
> 
> This affects anyone in China without an external VPN trying to access
> our email archives web page.  Any reasonable idea if this can be
> improved?  Thanks.

Yep,

The problem is here:
 <script type="text/javascript" 
src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>  <script type="text/javascript" 
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>

This is arguably a bad idea in general and we should probably host these 
ourselves.


JD


> 


-- 
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc

PostgreSQL Centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://pgconf.us
*****     Unless otherwise stated, opinions are my own.   *****


-- 
Sent via pgsql-www mailing list (pgsql-www@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-www

pgsql-www by date:

Previous
From: Bruce Momjian
Date:
Subject: [pgsql-www] Viewing Postgres website from China
Next
From: Daniel Gustafsson
Date:
Subject: Re: [pgsql-www] Viewing Postgres website from China