In this articles we discuss the options, best methods, and steps of deploying Gatsby in China while maintaining its world-class performance.
Gatsby builds the fastest sites in the world. Their modern site framework implements performance and blazing fast speeds into your sites.
How to Improve Gatsby’s Performance in China
Deploying your Gatsby code in China without the proper hosting service is like driving your Tesla Model X on muddy roads, doable but about 5-8x times slower. The slow performance is a result of foreign hosting services having to deal with the Great Firewall and foreign DNS.
There are a few static site hosting options within China, such as AWS S3 China Region or Ali Cloud OSS. In addition to the infamous slow customer service by these larger companies, they also do not offer the same level of “build and deploy” services such as Netlify or Heroku.
To get the maximum performance out of your Gatsby framework, we recommend 21YunBox.
21YunBox’s Simple Steps to Deploy and Host Gatsby in China
Environment Static Pages Build command yarn && yarn build Publish catalog ./public
|Build Command||yarn && yarn build|
Here is a video if you would like to watch along with a deployment example:
Why Choose 21YunBox
Described as the Netlify of China, 21YunBox is based out of Beijing. Our solutions enable your team to be more effective in reaching the 1.3 billion people within The Great Chinese Firewall by hosting your sites at blazing speeds without having to deal with servers.
Not fluent in Chinese? No worries, 21Yunbox’s support team is hand chosen to offer you a top-notch English support experience.
If you still need your ICP license and don’t want your site shut down? 21YunBox can help you out with full support in getting your required ICP license to run your site legally in China.
How to get started with 21YunBox
21YunBox offers a 7-day Free Trial to let you test and deploy your Gatsby project in China.
Have questions? Shoot us an email firstname.lastname@example.org
Find this article helpful? Please share and help us spread the word about 21YunBox’s unique solution to hosting within China.