Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Google JQuery CDN [https://ajax.googleapis.com] is banned in China #18367

@ys2843

Description

@ys2843

Description

In MXNet website, JQuery script is loaded from google CDN in <head>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

But this CDN is known banned in China, as you can see here:

Here is my own test using Chinese servers:

Screen Shot 2020-05-19 at 12 11 59 PM

It not only blocks website from loading, but also breaks all the interaction on MXNet website. (e.g. dropdown, installation guide, search etc. )

Error Message

ReferenceError: jQuery is not defined[Learn More]

Proposed solutions

While China is the number one country using the MXNet website. We need to solve this problem so that users in China can visit MXNet website without any problem. Here are 3 solutions:

  • Use an alternative CDN as a backup, for example CDN hosted in China , when google CDN fails then load the resource from backup CDN , as discussed in this question
  • Replace google CDN by another CDN
  • Hosting jQuery locally (Not preferable performance-wise, reasons can be found here )

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions