Websites hosted outside mainland China often load slowly there because traffic has to cross congested international links and pass through the Great Firewall. The most reliable fix is to serve your site through a CDN with optimized routes into China (such as CN2 lines), cache static files close to visitors, slim down your pages, and remove resources that are blocked in China, like Google Fonts and Google Maps.
Why is my website slow in China?
If your server is in the US, Europe or even Singapore, a visitor in Shanghai or Beijing reaches it over international links that are shared by huge volumes of traffic. At peak hours these links get congested, so latency and packet loss go up. On top of that, all cross-border traffic passes through China’s national filtering system (often called the Great Firewall), which adds extra delay and can drop connections.
Common symptoms include:
- Pages that load in 2 seconds elsewhere take 10 seconds or more in China.
- Pages load without styling, or hang while “waiting for” a third-party resource.
- Speed varies a lot by time of day, and is worst in the evening in China.
- Speed differs between China Telecom, China Unicom and China Mobile users.
Step 1: Remove resources that are blocked in China
Many websites wait for files that can never load in China. Until the browser gives up, the page looks broken. Check your site for:
- Google Fonts, Google Maps, reCAPTCHA and Google-hosted libraries
- YouTube, Facebook, X (Twitter) and Instagram embeds
- Analytics, chat and ad scripts loaded from blocked domains
Host fonts and libraries on your own domain, or replace these services with ones that work in China. This step alone can turn a “broken” site into a usable one.
Step 2: Make your pages lighter
Every extra request costs more on a slow, long-distance link. Compress and resize images (WebP or AVIF), minify CSS and JavaScript, combine small files, and lazy-load images below the fold. Aim to keep the first screen of your page small enough to load quickly even on a mobile connection.
Step 3: Use a CDN with good routes into China
A content delivery network (CDN) stores copies of your files on servers (nodes) closer to your visitors and sends each request to the best node. For China, two things matter more than anything else:
- The route into China. Premium lines such as China Telecom’s CN2 carry traffic on a less congested backbone than the standard international routes, so latency and packet loss stay lower at peak hours. See our guide What is CN2? CN2 GT vs CN2 GIA.
- Smart scheduling. The CDN should send each visitor to the nearest healthy node and pick the best path for each carrier.
Global CDNs that do not have China-optimized routes often help little for visitors inside China, because the slow part of the journey (the cross-border link) is still there.
Step 4: Protect the site from attacks
Sites that start to get traffic from China also attract attacks. Choose a CDN that includes a web application firewall (WAF), DDoS protection and CC (HTTP flood) protection, so an attack doesn’t take your site offline or run up your bandwidth bill.
Step 5: Test from inside China
Testing from your own office tells you nothing about China. Use online tools that test from multiple cities and carriers in mainland China, and compare results before and after each change. Check both the first visit and repeat visits, and test at different times of day.
Quick checklist
| Problem | Fix |
|---|---|
| Page hangs or loads without styling | Remove or self-host blocked resources (Google Fonts, Maps, YouTube) |
| Slow at peak hours | Use a CDN with CN2 or other optimized routes into China |
| Slow for one carrier | Use a CDN with per-carrier scheduling |
| Large, slow pages | Compress images, minify files, lazy-load |
| Attacks or traffic spikes | Turn on WAF, DDoS and CC protection |
FAQ
Can I make my website fast in China without hosting it in China?
Yes. Many sites keep their origin server abroad and use a CDN with optimized routes into China. Visitors get content from nearby nodes, and requests that must reach the origin travel over a better route.
Does a normal global CDN work in China?
It works, but often not well. If the CDN has no nodes or optimized routes for China, visitors there still depend on congested international links.
Why does my site load but look broken in China?
Usually because a blocked resource, such as Google Fonts or a Google-hosted script, is holding up the page. Self-host those files or replace them.
How Wukong CDN helps
Wukong CDN sends each visitor to the nearest node, uses China plus global routing with a direct CN2 connection to China, and includes WAF, DDoS and CC protection on every plan. Plans start from $99/month with no contract. Compare plans or contact us for advice on your site.
Related reading: How to test website speed in China · China CDN vs global CDN