Skip to content

Google don warn say CDN migration fit cause crawl surge wey go crash server

When you switch to CDN, e fit make Google crawl your site faster than your server fit handle, but if you warm di cache first, e go prevent dis problem.

We translate am from English. Read di English one

Google don publish advice wey warn say if you move to CDN, wey be network of servers wey dey make your site fast, e fit accidentally flood your main server with traffic from Google own crawler. Di problem simple: when site fast, Google go think say di site dey healthy, so e go crawl am more aggressively. If di stored copies of pages wey dey inside your CDN cache empty, every visit from Google go hit your main server directly, and dat one fit bring am down.

How e dey go wrong. Your server go dey receive heavy hits from Google crawler immediately after you switch, because di CDN never store anything yet and e go pass every request straight through. Server wey no fit cope fit slow down or go offline completely, and dat one mean say real visitors no go fit reach your site.

Wetin e go cost. Downtime mean say you go lose visitors and lose sales for however long your server dey struggle. Google guidance no give any specific figure, but server wey crash during migration fit set a site back for days.

Effort. You fit do dis yourself, but you fit need developer to help you with di cache warming step.

Wetin you go do. Before you switch to di CDN, load your most visited pages into am first so di cache no go empty when Google arrive. Check say Google crawler no dey blocked by any rules wey you don set up to stop bots. If your server begin struggle after di switch, return status code 429 or 503, wey be signals wey go tell Google to slow down and try again later.

Wetin we think

Switching to CDN fit flood your server, so warm up di cache before you make di move.

Where e come from: developers.google.com