165 words
1 min
Vercel Slow in Mainland China? Speed It Up with CF Worker Reverse Proxy + Preferred Nodes
Some networks in mainland China access Vercel projects very slowly. A practical workaround is Cloudflare Worker reverse proxy plus preferred nodes, with no ICP filing and near-zero cost.
2025-11-23

Vercel projects can be slow on some domestic networks, and sometimes Vercel routing itself is unstable. A practical fix is Cloudflare reverse proxy + preferred nodes.

Preparation:

  1. A Vercel project to proxy and its domain
  2. A Cloudflare account

Note: in the following, assume users access accelerated domain B.xxx.com, while Vercel is currently bound to A.xxx.com (non-accelerated).

Cloudflare reverse proxy#

I already covered details here: Cloudflare Worker反向代理网站教程 - 潮思Chaosyn

Simplified steps:

  1. Fork or build your own reverse-proxy script: https://github.com/evepupil/any-proxy
  2. Replace target domain in the proxy code with your own site. For Vercel, bind A.xxx.com in the Vercel project and proxy that domain.

image.png

  1. Create an application in Cloudflare and select your forked repo.

image.png

  1. Wait until deployment succeeds.
  2. Add an interception route in Worker settings so all B.xxx.com/* traffic is routed through this Worker.

image.png

Cloudflare preferred nodes#

Detailed guide is here: https://blog.chaosyn.com/posts/cloud-flare配置优选节点教程/

Simplified steps:

  1. Add a CNAME record in Cloudflare DNS and point it to any preferred node.

image.png

  1. Done. Traffic to B.xxx.com now benefits from preferred-node acceleration.

image.png