Netlify Official Website
Netlify Official Website

What is Netlify?

Netlify is a cloud platform that provides static site hosting. It supports functions such as automatically pulling code from code repositories such as Github, GitLab, Bitbucket, and then performing project packaging and deployment.

Speed Chart Before and After Speed Increase

Left image: The speed measurement result of the site deployed on Netlify; the right image is the speed results after deploying on 21YunBox. The color represents the feedback time of the site, green represents fast, and the closer to red, it represents extremely slow or even inaccessible.
Left image: The speed measurement result of the site deployed on Netlify; the right image is the speed results after deploying on 21YunBox. The color represents the feedback time of the site, green represents fast, and the closer to red, it represents extremely slow or even inaccessible.

Left image: The speed measurement result of the site deployed on Netlify; the right image is the speed results after deploying on 21YunBox. The color represents the feedback time of the site, green represents fast, and the closer to red, it represents extremely slow or even inaccessible.

As you can tell the access speed of the site deployed with Netlify in China is very unsatisfactory (left picture), and most areas are very slow (orange).

After deploying with 21YunBox, the result has reached a usable level (the dark green provinces with more on the right).

Source Code of the Test Project

We chose a Hexo Blog as the test object. The default template was used, and no additional changes were made.

How to Improve Netlify’s Access Speed in China?

If it’s just a static site, consider storing it in the storage space of a domestic cloud service provider, such as AWS China S3 or Aliyun’s OSS, basically guarantees the speed of site access.

The disadvantages of deploying in the storage space are also very obvious: there are more initial configurations, if you want to make continuous deployment (Git push automatic packaging and deployment), you need more configuration.

If you want a hassle free and simple solution like Netlify for China, you can host your static site in 21YunBox.

Process of Hosting Static Site with 21YunBox

1. Signup on 21YunBox

2. Authorize 21YunBox to access the code repository you want to deploy

Sample image: Select the code repository to be deployed in 21yunbox
Sample image: Select the code repository to be deployed in 21yunbox

3. Configure Build (Package) Command and Release Directory

Sample image: Configure Hexo build (package) command and release directory
Sample image: Configure Hexo build (package) command and release directory

4. Click “Deploy Now”

In seconds, your site is packaged and deployed online.

You can access your project at app_id.21yunbox.com (app_id is created and defined).

If you are not sure how to setup, see the step by step video below.:

How to deploy Hexo to the server operation video

What Else can 21YunBox Deploy?

Like a back-end application framework Python Django or PHP Laravel. These are notoriously complicated to deploy. 21YunBox allows you to complete the package and go online to generate a unique second-level domain name in 3 or 4 minutes. What about deploying a database in China? Yes, we can also simplify this process for you with a one-click to build database solution. Check out these PostgreSQL or MySQL examples (with videos).

What else? Want to know more? You can check Help Document