Background
Vercel is a widely used frontend deployment platform that not only supports hosting Hexo blogs, but can also deploy various services. Many site owners choose to host their websites on Vercel, especially using the Hong Kong node closest to mainland China. However, as the number of users has increased, access speed through the Hong Kong node has gradually slowed down. To improve this situation, this article recommends a method that uses acceleration nodes to improve the access speed of sites deployed on Vercel.
Acceleration Solution
Basic Principle
Vercel has multiple nodes in Asia, including Taiwan, South Korea, Japan, and Singapore. These nodes have relatively sufficient bandwidth resources, and access latency is also within an acceptable range. By manually resolving to these nodes, you can effectively share the load on the Hong Kong node and improve access speed.
Steps
1. Bind a Domain in Vercel
First, you need to bind your custom domain in Vercel:
- Log in to the Vercel dashboard.
- Select your project and enter the project settings.
- In the "Domains" section, add your custom domain and verify ownership.
2. Set the Domain CNAME to vercel.cdn.yt-blog.top
Next, modify your domain's DNS configuration and point the CNAME record to vercel.cdn.yt-blog.top:
- Go to your domain management console (usually provided by your domain registrar).
- Find the DNS configuration for the domain you want to optimize.
- Modify the CNAME record and replace the original
cname.vercel.comwithvercel.cdn.yt-blog.top. - Save the configuration and wait for DNS to take effect.
3. Done
After completing the above steps, your website will use optimized nodes for accelerated access. You can visit the website to experience the speed improvement.
Acceleration Effect
After using acceleration nodes, access requests will be automatically resolved to nearby available nodes, thereby reducing the load pressure on the Hong Kong node and improving overall access speed. It should be noted that the final data will be routed back to the original Vercel server, so there is no need to worry about data security.
Notes
Although this acceleration service provides a significant improvement in access speed, since the service is not officially provided, users need to evaluate and monitor its stability and long-term availability themselves. If you encounter access issues during use, it is recommended to make timely adjustments or revert to the original DNS configuration.
Conclusion
By manually resolving to better nodes, you can effectively improve the access speed of Vercel-deployed sites in mainland China. The method introduced in this article is simple and easy to use, and site owners who want to improve the access experience may want to give it a try. If you encounter any problems during implementation, you can refer to more technical documentation or seek help from the community.