CDN e SEO

Come un CDN affects SEO — faster TTFB, better Core Web Vitals, caching edge, e distribuzione geodistribuita — e che cosa un watch per (header della cache, URL canonicalization, HTTPS configuration).

Prima pubblicazione: 2 lug 2026 · Ultimo aggiornamento: 9 ago 2026 · Advanced
Lingue
1 segnale di evidenza in questa pagina

Un CDN (rete di distribuzione dei contenuti) caches e serves tuo contenuto da server edge close un ogni visitor e crawler. It isn't un fattore di ranking da solo, ma it moves il levers Google e Bing fare usare — faster TTFB e Core Web Vitals, better disponibilità, HTTPS delivery, e eseguire il crawling efficiency (Google even raises frequenza di crawling ceilings per CDN-backed siti). Il catches sono tutti misconfiguration: un 'cold' cache still rende tuo origin serve ogni nuovo URL almeno once; un CDN's WAF o bot-verification interstitials può silently block Googlebot/Bingbot (il biggest real-world failure mode); e canonical tags, HTTPS impostazioni, e header della cache devono survive il livello edge. Google's December 2024 'Crawling December' post è il authoritative fonte, compreso its entro-un-settimana reversal su hostname-sharding critical JS/CSS un un CDN sottodominio.

TL;DR — Un CDN caches e serves tuo contenuto da server edge near ogni requester, cutting TTFB e improving Core Web Vitals, adding disponibilità/flood protection, e letting Google eseguire il crawling faster (it raises frequenza di crawling thresholds per CDN-backed siti, inferred da il serving IP). È non un fattore di ranking itself. Il catches sono tutti operational: un cold cache still rende tuo origin serve ogni nuovo URL almeno once (un eseguire il crawling-budget costo su big launches); un CDN’s WAF o bot-verification interstitials può silently block crawler — il singolo biggest real-world CDN/SEO failure mode; canonical tags e HTTPS config devono survive il edge; e Google reversed itself in sotto un settimana in December 2024 su sharding critical JS/CSS un un CDN sottodominio (ora discouraged per critical resources, still fine per large non-critical assets like video). Il authoritative fonte è Google’s “Crawling December: CDNs and crawling” (traduzione) «Crawling December: CDNs e crawling» post.

Evidence for this claim A CDN can cache and serve content closer to users, affecting delivery performance rather than adding a direct search ranking signal. Scope: Current official or standards documentation. Confidence: high · Verified: MDN: CDN Evidence for this claim Googlebot must receive accessible content and valid status codes regardless of whether a CDN sits in front of the origin. Scope: Current official or standards documentation. Confidence: high · Verified: Google: HTTP and network errors

Che cosa un CDN in realtà fa

Un CDN è un intermediary tra tuo server di origine e everyone requesting tuo URLs — visitors e crawler alike. Google’s own December 2024 “Crawling December” (traduzione) «Crawling December» post describes it plainly: CDNs sono un intermediary tra tuo server di origine e il end user che serves some files su tuo behalf, e historically loro biggest focus è caching — once un URL è requested, il CDN stores its contenuti per un mentre so tuo server doesn’t devono serve che file again. Google frames il intero point come decreasing latency di tuo sito web: speedy delivery di tuo contenuto even sotto heavy traffic.

Che singolo post — da Martin Splitt e Gary Illyes — è il la maggior parte authoritative e attuale thing either motore di ricerca ha pubblicato su CDNs e SEO, e la maggior parte competing articoli don’t usare it. Quasi everything below è grounded in it.

Worth essendo precise su che cosa un CDN è, since il term ottiene usato loosely: un CDN è specificamente il distributed edge-server topology — il rete di caching/serving nodes sitting tra tuo origin e requesters. It isn’t synonymous con generico web hosting, e it isn’t synonymous con HTTP caching itself (any server o proxy può cache un response). Web Application Firewall protection e TLS termination aren’t part di il core CDN function either — la maggior parte CDN vendors bundle them in, quale è perché il terms ottenere blurred, ma loro’re separato capabilities layered su top di edge delivery.

Fa un CDN aiutare SEO? Il honest risposta

Un CDN è non un fattore di ranking. It’s un performance e reliability lever che influences diversi cose Google fa weigh. Tre di them matter:

Faster TTFB e Core Web Vitals

Serving da un nearby edge cache cuts round-trip time, quale lowers time un primo byte — e TTFB è il leading edge di LCP, il largest di il Core Web Vitals. Google’s framing è che offloading media, JavaScript, CSS, e even HTML un un CDN’s caches reduces server load e significa pagine load faster in users’ browsers, quale correlates con better conversions. Questo è il cleanest, la maggior parte defensible SEO argument per un CDN, e it overlaps con everything in il caching, resource hints, e web performance tools siblings in questo cluster — un CDN è uno di il biggest levers tu pull un fix un bad CWV o PageSpeed score.

Che benefit è conditional, though. Un cache hit near il requester è che cosa cuts round-trip time; un miss, un uncached personalized response, o un poorly placed edge node può leave TTFB unchanged o even aggiungi overhead. Un CDN doesn’t guarantee un lower TTFB in ogni regione o su ogni request — it garantisce uno quando il edge può in realtà serve il response.

Higher frequenza di crawling thresholds per CDN-backed siti

Questo è il underrated upside. Google infers server headroom da il IP serving tuo URLs, e it explicitly designs its crawling infrastructure un consentire higher eseguire il crawling rates su siti che sono backed da un CDN. Il throttling threshold è much higher quando nostro crawling infrastructure detects che tuo sito è backed da un CDN, perché it assumes il server può gestire più simultaneous requests. Per un large o frequently aggiornato sito, che’s un genuine, documentato benefit — più di tuo pagine può essere crawled faster. Essere precise su che cosa’s in realtà guaranteed qui: questo è un inferred capacity threshold, non un promised eseguire il crawling-budget, indicizzazione, o ranking gain — Google still decides come much di che higher ceiling un usare based da solo eseguire il crawling-demand signals per tuo sito. (E even un full usare, it’s still un eseguire il crawling budget efficiency gain, non un ranking signal — crawling più isn’t ranking better.)

Reliability, disponibilità, e flood protection

Google names due più benefits. Traffic flood protection: CDNs sono good un identifying e blocking excessive o malicious traffic, mantenendo tuo sito usable even quando misbehaving bots sarebbe overload it. E reliability: some CDNs può serve tuo sito un users even if tuo sito è down — almeno il static contenuto, quale può essere enough un mantieni visitors da leaving. Il scale qui è real — CDNs hanno autonomously detected e mitigated multi-terabit DDoS floods che sarebbe take un unprotected server di origine offline in seconds. Disponibilità è quietly un SEO concern — sustained downtime che returns errors un Googlebot sarà eventually costo tu in il indice.

Il eseguire il crawling-budget catch: cold caches su nuovi URL

Qui’s il nuance quasi ogni concorrente articolo misses. Un CDN fa non exempt tuo origin da serving brand-nuovi URL. Su il primo request per un URL il CDN’s cache è cold — nobody’s asked per it yet, so it isn’t cached — e tuo origin still deve serve it almeno once un warm il cache. Google’s esempio è un webshop launching un million-plus URLs: even behind un CDN, tuo server sarà devi serve quelli 1 000 007 URLs almeno once prima il CDN può aiutare. Che’s un real hit su budget di crawling, e Google warns il frequenza di crawling sarà likely spike per un pochi giorni.

Pratico takeaway: if tu’re launching un lot di URLs un once — un nuovo sito section, un migration, un huge prodotto catalog — piano per tuo origin un absorb che initial eseguire il crawling. Il CDN protects tu dopo warm-up, non during it. Questo è il stesso “where the load actually falls” (traduzione) «dove il load in realtà falls» thinking che arriva up in migrazioni del sito.

Dovrebbe static assets live su un CDN sottodominio?

Un recurring architettura domanda: fare tu host CSS/JS/immagini su un separato hostname like cdn.example.com, o back tuo principale hostname con un CDN? Google dice entrambi funzionare — its crawling infrastructure supporta either option senza problemi. Splitting resources su loro own hostname può let its Web Rendering Service renderizzare più efficiently, ma Google flags il caveat itself: it può negatively affect pagina performance due un il overhead di un connessione un un diverso hostname.

E questo è dove Google publicly changed its mind in sotto un settimana. Its December 3, 2024 companion post primo suggested hosting resources su un diverso hostname un shift eseguire il crawling-budget concerns su il resource host. Tre giorni later it aggiunto un correction: perché che può result in slower pagina performance due un il overhead di connessione un un diverso hostname, Google no più lungo recommends it per critical rendering resources like JavaScript o CSS — though it’s still worth considering per large non-critical assets like video o downloads. If tu già back tuo principale host con un CDN, tu sidestep il intero tradeoff: uno hostname un query, critical resources served da il CDN’s cache. Note too che il WRS caches JS/CSS per up un 30 giorni regardless di tuo HTTP header della cache, so resource cambiamenti può lag.

Quando CDNs hurt SEO: bot blocking (il biggest real rischio)

Il numero-uno real-world CDN/SEO problema è non duplicate contenuto — it’s il CDN silently mantenendo crawler out. Google è direct: un causa di flood protection, il bots che tu fare want su tuo sito può end up in tuo CDN’s blocklist, typically in il Web Application Firewall (WAF), quale può prevent tuo sito da showing up in ricerca affatto. Google splits il failure modes in hard blocks e soft blocks.

Hard blocks — e quale status codice tu return conta enormously

  • HTTP 503 / 429 — il giusto way un signal un temporary block. It buys tu time un react prima anything è deindexed. Prefer questo.
  • Timeout di rete — bad. Google tratta questi come terminal, “hard” errors. The precise outcome — removal from the index, a cut to your crawl rate, or both — depends on the status/network-error class, how long it persists, and whether it recurs, per Google’s current HTTP status codes, and network and DNS errors documentation; a single isolated timeout is a much smaller risk than a sustained pattern of them.
  • **A random error message served with a 200 status (” (traduzione) «hard” errors](https://developers.google.com/search/blog/2024/12/crawling-december-cdns#:~:text=network%20errors%20are%20considered%20terminal). Il precise outcome — removal da il indice, un cut un tuo frequenza di crawling, o entrambi — depends su il status/rete-error class, come lungo it persists, e se it recurs, per Google’s attuale HTTP status codici, e rete e DNS errors documentazione; un singolo isolated timeout è un much smaller rischio di un sustained pattern di them.
  • Un random error message served con un 200 status (»soft error”) — il worst case. If Google reads it come un hard error, it removes il URL; if it può’t, tutti il pagine sharing che error body può essere eliminated come duplicates.

Che ranking di outcomes è il singolo la maggior parte actionable thing in questo intero argomento: un clean 503 è better di un “technically up” (traduzione) «technically up» 200 error pagina.

Soft blocks — bot-verification interstitials

Quando un CDN throws un “are you human” (traduzione) «sono tu human» challenge, che interstitial è tutti il crawler sees — non tuo pagina. Google’s fix è explicit: per questi bot-verification interstitials it strongly recommends sending un chiaro signal in il modulo di un 503 HTTP status codice un automatizzato clients, so il contenuto isn’t dropped da il indice automaticamente.

Come un debug it

Google’s workflow per entrambi hard e soft blocks: usare il URL Inspection tool in Ricerca Console e look un il renderizzato screenshot — tuo pagina significa tu’re fine; un blank pagina, un error, o un challenge per i bot significa talk un tuo CDN. Then verify il crawler contro pubblicato IP ranges e, if appropriate, remove il blocked IPs da tuo WAF regole o allowlist them. Crucially, Google warns che IPs può end up su un blocklist automaticamente, senza tu knowing, so checking tuo WAF blocklists periodically è worth doing. Google publishes Googlebot’s IP ranges per esattamente questo; Bing publishes il equivalent (see il Bing section below).

Questo è, incidentally, uno place I’ve watched cose break in tutto il intero stack. In my SMX Advanced 2018 “Solving Complex SEO Problems” (traduzione) «Solving Complex SEO Problemi» deck I map out come molti layers logic può live un — DNS, CDN, middleware, server, HTTP header, locale — e il CDN edge è uno di them. Quando un redirect o un block behaves uno way in un browser e un altro way un Googlebot, il edge è spesso dove il surprise è hiding.

Header della cache e canonicalization attraverso un CDN

Duplicate contenuto da un CDN è un manageable rischio, non un penalty. Il ways it in realtà goes sbagliato:

  • Il CDN serves contenuto da its dominio personale senza echoing tuo origin’s canonical tag o header — so il edge URL competes con il real uno.
  • Multi-regione nodes serve geographically varied contenuto senza corretto hreflang, splitting un pagina in tutto regional variants.
  • Query-string o cache-key handling manufactures parameter-based duplicates.

Il fix è il stesso discipline il canonicalization e duplicate contenuto articoli cover: rendere sure tuo canonical tags e headers survive il edge intact, e verify them dopo un CDN deploy, non prima. Remember canonicalization è un consolidation di signals — un CDN che strips o overrides tuo canonical è soltanto uno più signal pulling il sbagliato way.

Uno myth un retire mentre noi’re qui: il Vary header è un caching-correctness concern, non un SEO signal. Un Vary: User-Agent può wreck un CDN’s cache hit rate if il CDN refuses un cache varied responses, ma Google non usare Vary come un mobile/desktop indicizzazione signal. Che’s un ops problema, non un ranking uno.

HTTPS/TLS attraverso un CDN

Un CDN aggiunge un secondo leg un tuo encryption: origin↔edge e edge↔client. Entrambi need un essere HTTPS. Il classico misconfiguration è un “Flexible SSL” (traduzione) «Flexible SSL» mode dove il visitor sees HTTPS ma il CDN talks un tuo origin oltre semplice HTTP — e HTTP-solo asset URLs baked in un CDN config produce mixed-contenuto avvertenze. Rendere sure sicurezza headers like HSTS e CSP pass attraverso il edge, too. HTTPS è un lightweight ranking signal in its own giusto, e un CDN è uno di il easier places un accidentally undo it. If tu’re standing up o switching un CDN senza changing tuo URLs, treat it like un hosting cambiamento — Google’s changing tuo web hosting guidance covers il “no URL change” (traduzione) «no URL cambiamento» sito-move case.

Shared IPs, e che cosa doesn’t matter

  • Un shared CDN IP indirizzo è un non-problema per rankings. Google’s John Mueller ha ha detto sito owners don’t devi artificially buy IP indirizzo blocks; ending up su un CDN IP shared con altro companies è expected e fine.
  • Il cdn.example.com vs. terzo-party CDN dominio choice è un tecnico/performance decision, non un SEO uno, come lungo come il contenuto è crawlable — quale follows directly da Google supporting either hostname setup.

Bing’s side

Bing ha no singolo “CDN e SEO” explainer come detailed come Google’s, ma il stesso problemi e fixes apply. Il direct parallel un Google’s WAF guidance: Bing publishes ufficiale Bingbot IP ranges e un verification tool precisely so sito owners behind un CDN o bot-management layer può confirm un crawler è davvero Bingbot prima consentire- o deny-listing it — see Verify Bingbot e il Verify Bingbot tool. Microsoft anche rilasciato its Bingbot IP indirizzo elenco come un JSON file, il stesso way Google fa. Bing’s generale guidance anche elenchi sito speed among optimization considerations e names usando un CDN come uno di il tactics un improve load times. E Bing’s Fabrice Canel ha spoken, un un high level, su come contenuto cached su CDNs e hosted in il cloud crea nuovo challenges per measurement e managing contenuto in tutto platforms — un fair characterization di il operational reality, even if it isn’t un ranking claim.

Dove questo fits

CDN decisions touch nearly everything in il web performance cluster — caching, resource hints, Core Web Vitals, TTFB — perché un CDN è uno di il biggest levers su tutti di them. It anche reaches in crawling (eseguire il crawling budget, cold caches), indicizzazione (canonicalization, duplicate handling), HTTPS, e migrazioni del sito. Il recurring theme: un CDN è un straightforward win per il signals che matter if tu mantieni tuo canonical tags, HTTPS config, e crawler access intact attraverso il edge — e un leading cause di “indexed without content” (traduzione) «indicizzato senza contenuto» if tu don’t.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.