Data Residency and Web Hosting by Market 2026

Data Residency and Web Hosting by Market

One global origin is not always legal or fast. This article maps the per-market hosting topology — global-origin, regional-origin, or isolated-stack — crossed with data classes.

Where a multilingual site's data and origin can physically live is a two-layer decision — what each market's law allows, and what actually performs from inside that market. A global origin outside China's network boundary can be slow from inside the mainland whether or not it is lawful — Cloudflare's China Network documentation attributes significant latency and reliability issues to traffic routed through servers outside the country (as of Nov 2026). Russia's personal-data law contains a localization rule that applies regardless of latency: in the current wording of Article 18(5) of Federal Law 152-FZ as a commercial legal database reproduces it, when personal data is collected, the recording, systematization, accumulation, storage, clarification (updating, changing) and retrieval of Russian citizens' personal data using databases located outside Russia are not allowed, except in cases the law lists; we could not confirm this against the official text. A global content delivery network is unlikely to satisfy a rule like that on its own. This guide gives you a per-market topology framework — global-origin, regional-origin, or isolated-stack — crossed with data classes, so the operational decision is made deliberately and the legal mechanism is left to the privacy topic.

Why one global origin is not always legal or fast

The cheapest mental model for a global site is one origin, one database, one content delivery network, serving every market from wherever the company happens to be incorporated. It is also the model that fails in two unrelated ways at once, and teams can discover both only after launch.

The first failure is legal. Some markets constrain where certain personal data may physically sit. China's Personal Information Protection Law, for example, requires critical information infrastructure operators and personal-information processors whose processing of personal information reaches the volume set by the national cyberspace authority to store the personal information they collect and generate within China inside China (Article 40). Where they truly need to provide it abroad, they must pass a security assessment organized by that authority, unless laws, administrative regulations or that authority's rules provide that no assessment is needed. Where a rule like that applies, a global database in the wrong region is not a tuning problem — it is a non-compliant architecture. The second failure is performance. Some markets degrade or break an offshore origin regardless of whether it is legal, because the bottleneck is a network border, not distance. China is the canonical case: a perfectly lawful origin in Frankfurt or Virginia can still load slowly and intermittently from Shanghai. Cloudflare's China Network documentation attributes significant latency and reliability issues to traffic routed through servers outside the country, due to China's network boundaries (as of Nov 2026); a working hypothesis, not a documented rule, is that the cross-border layer throttles and resets connections.

These two layers — what the law allows and what actually performs — have to be decided separately and then intersected. Conflating them produces the two classic mistakes: assuming a fast content delivery network solves a residency law, or assuming a legally compliant origin will perform everywhere. This article owns the operational layer: where the origin sits, where the network caches, and how the topology is structured per market. The legal mechanism — adequacy decisions, standard contractual clauses, the China outbound-transfer pathways — is genuinely complex and belongs to the privacy topic's cross-border-transfer work, which this guide points at rather than restates. GDPR Chapter V on transfers frames that regime; the depth lives there, not here.

The reason both failures surface late is that the cheap model looks fine in every test that does not run from inside the constrained market. A team in Berlin tests the German launch from Berlin, sees green, and never tests the China or Russia path from inside those markets — so the residency gap and the performance cliff stay invisible until the market actually opens. The decision has to be made at scoping time precisely because it cannot be observed at quality-assurance time from the wrong vantage point.

China — in-country origin

China is the market where the operational layer dominates the decision. China's Measures for the Administration of Internet Information Services apply to internet information services carried out within the People's Republic of China. Commercial services — providing information, web-page production or similar services to internet users for a fee — are subject to an Internet Content Provider (ICP) license, and non-commercial services — providing public, shared information to internet users free of charge — to an ICP filing, the bei'an record; no one may provide internet information services without the license or the filing (Articles 2-4). The provider must show its operating-license number or filing number in a prominent position on its homepage (Article 12), and a non-commercial filer must show its filing number at the center of the bottom of the homepage when the site opens, with a link, as required, to the Ministry of Industry and Information Technology filing system below the number for public lookup (Measures for the Filing Administration of Non-commercial Internet Information Services, Article 13). Those measures tie the license and the filing to providing the service within China; in-country hosting comes in through infrastructure providers, which can require the license or filing before they serve a domain from the mainland — Cloudflare's China Network documentation, for example, requires a valid ICP filing or license for each apex domain you onboard (as of Nov 2026). The Ministry of Industry and Information Technology runs the public ICP filing portal, the filing system through which filing information is published.

An edge node in Hong Kong or Singapore is not a substitute. Those regions sit outside the mainland network boundary, so a Hong Kong point of presence can test green while saying little about what a user inside the mainland sees; a working hypothesis, not a documented rule, is that the same page can stall for a Beijing user. The boundary that matters is the network border, not geographic proximity: Cloudflare's China Network documentation ties the latency and reliability issues to traffic routed through servers outside the country (as of Nov 2026), which is why a content-delivery tweak outside the mainland is unlikely to solve the China case. The CDN-Loop header (RFC 8586) is an HTTP request header field that helps CDNs that have implemented it identify a request forwarded between CDNs and then routed back into the original CDN, so the loop can be terminated — provided the intermediaries in the path preserve the header; it does not route traffic across a border. The cache-and-origin architecture itself is, at its core, a transport optimization for delivering and accelerating data efficiently. Neither is a way to cross a regulated network border.

The production topology this guide recommends is an isolated China origin plus a mainland delivery network, distinct from the global infrastructure and decoupled so a global deploy never blocks on the China stack. The filing-versus-license distinction, the filer and hosting prerequisites, and the realistic lead time are an operational topic in their own right — the China ICP and hosting article on this topic covers that filing detail, and this guide deliberately stops at the topology decision so the two do not blur.

The edge case worth naming is the market that starts global-origin and quietly becomes isolated-stack. A brand-presence site launches serving China acceptably enough from a global origin during a low-traffic pilot, then adds an account flow or a checkout and the cross-border latency that was tolerable for a brochure becomes a conversion cliff for a transaction. Treating China as "a region we can add later" is the decision that costs a meeting at project kickoff and a re-platform after launch. The architectural takeaway is narrow: classify China as a separate origin from the start, not as a region appended to the global topic.

Russia and other localization regimes

Data-localization law is the second pattern, and it changes where the database sits rather than how the page loads. Russia's rule sits in Article 18(5) of its personal-data law, Federal Law 152-FZ. In the current wording as a commercial legal database (ConsultantPlus) reproduces it — the part as amended by Federal Law 23-FZ of February 28, 2025 — when personal data is collected, including over the internet, the recording, systematization, accumulation, storage, clarification (updating, changing) and retrieval of Russian citizens' personal data using databases located outside Russia are not allowed, except in the cases listed in points 2, 3, 4 and 8 of Article 6(1) of that law. We could not confirm this wording against the official text (as of Nov 2026). Read that way, it is an architecture constraint, not a copy change: it dictates a regional database for that data class, decided at project kickoff rather than negotiated at launch.

Several other jurisdictions have localization rules limited to particular sectors, operators or data categories, and the list moves — China's Article 40 above, for example, applies only to critical information infrastructure operators and to processors that reach the volume set by the national cyberspace authority. Treat any localization claim as something to verify against current law for that market at scoping time, not as a fixed global table you copy once and trust for years. The pattern in the two rules this article looks at is more useful than the list itself: each scopes to personal data, not the entire stack. In design terms that can mean a regional database for the covered personal data while public content, marketing pages, and static assets stay global — partial localization, not a forked site. Teams over-build when they read "data localization" as "everything in-country" and under-build when they read it as "a CDN node is enough"; a closer reading starts from what each rule names — which data, whose data or which operators, which operations, and where.

A delivery node in the country is unlikely to satisfy a localization rule on its own. The two rules this article looks at speak of storing personal information inside China, for the operators PIPL Article 40 covers, and of the databases used, when Russian citizens' personal data is collected, to record, systematize, accumulate, store, clarify and retrieve it, which may not be located outside Russia (the commercial-database text of 152-FZ Article 18(5), with listed exceptions), not of caching copies at the edge — and a cached copy at the edge is not the system of record. Confirm the reading for each market in the legal track. The legal trigger — which data class, which residents, which processing — is the privacy topic's cross-border-transfer work to determine; this guide's job is to turn that legal output into a regional-origin decision once the trigger is confirmed. The two tracks run in parallel: the legal track decides whether Russia's Article 18(5) or an analogous rule applies, and this operational track decides the topology that implements the answer. Neither stands in for the other, and a late legal finding can invalidate an architecture that was already built — which is the expensive version of a kickoff decision.

CDN and edge placement

A global delivery network is a latency tool, not a residency tool, and confusing the two is an architectural error worth ruling out early. The web.dev guide to content delivery networks describes the delivery side: a network's performance benefits come from servers located closer to users than origin servers, from networking optimizations, and from caches that spare a request the trip to the origin server — the server the network retrieves content from. In this article's framing, the origin is also the system of record. Caching a response in Singapore does not move the data's legal home to Singapore.

Edge personalization complicates this further. Logic that runs at the edge — assignment for an experiment, geo-routing, personalized fragments — can read or write personal data in whatever region the edge platform happens to execute, which may not be a region you intended. Under the GDPR, for example, an edge function that fingerprints a user or stitches a session is processing personal data, and where that processing physically happens is now part of the residency question. Audit the edge as carefully as the origin, because "the database is in-region" is false if the edge layer above it processes the same data elsewhere.

The workable discipline is to separate two questions for every response: where it may be cached, and where it must originate. Static assets — fonts, images, scripts, public marketing content — globalize freely and should sit on the delivery network everywhere. Personal-data responses — account pages, order history, anything keyed to an identified person in a localization market — are a different case: as a design choice, serve them from the in-region origin with caching disabled or tightly scoped, in line with whatever location rule the legal track identifies. Mapping each data class to a cache rule and an origin rule is the concrete output of this axis, and it is the artifact to have ready for an audit.

A per-market topology decision framework

The decision is not one global default with exceptions bolted on. It is the intersection of two classifications, and the matrix is the artifact that makes it tractable.

Classify each market into one of three topology classes. A global-origin market can be served from the shared origin and delivery network with no residency constraint. A regional-origin market requires a database in a specific region for a defined data class but can otherwise share infrastructure. An isolated-stack market — China is the clearest — requires a separate origin, a separate delivery network, and a decoupled deploy.

Classify each data type into one of three sensitivity classes. Public content is marketing pages, documentation, and static assets with no personal data. Pseudonymous telemetry is analytics and event data not tied to a named person; it can still be personal data — under the GDPR, for example, Recital 26 says personal data that have undergone pseudonymization and could be attributed to a natural person by the use of additional information should be considered information on an identifiable natural person. The third class, personal data, here means anything keyed to an identified individual.

The topology falls out of the intersection, cell by cell:

Data classGlobal-origin marketRegional-origin marketIsolated-stack market
Public contentGlobal origin and networkGlobal origin and networkIn-region origin and network
Pseudonymous telemetryGlobal originRegional collection, confirm legal basisIn-region analytics provider
Personal dataGlobal originIn-region database, restricted transferIn-region database, isolated stack

A worked reading makes the matrix concrete. Take a brand selling into Germany, Russia, and China. Germany is a global-origin market for residency purposes unless a sector or national rule imposes a residency requirement: the GDPR contains no general requirement to store personal data in the EU, and the free movement of personal data within the Union must be neither restricted nor prohibited for reasons connected with the protection of natural persons with regard to the processing of personal data (Article 1(3)). Public content stays global; identified-user data transferred to a third country or an international organization needs to meet, subject to the GDPR's other provisions, the conditions of Chapter V (Article 44) — the transfer mechanism the privacy topic defines. Russia is a regional-origin market where, on the commercial-database reading of 152-FZ Article 18(5) above, the citizen personal-data cell moves into an in-region database while the marketing pages stay on the global network. China is an isolated-stack market where every cell shifts in-region for performance across the network border; the legal layer adds the ICP license or filing for providing internet information services within China and, for critical information infrastructure operators and processors that reach the volume set by the national cyberspace authority, in-country storage of the personal information they collect and generate in China under PIPL Article 40, with a security assessment where they truly need to provide it abroad unless laws, administrative regulations or the authority's rules provide that none is needed. The same three data classes produce three different topologies — which is exactly why a single global default is the wrong starting point.

Document the matrix with the legal basis recorded in each cell that is not "global." A cell that says "in-region database" without a named legal trigger is a cell nobody can defend in an audit, and the trigger is the privacy topic's output feeding this operational grid rather than a decision this article makes on its own.

Operating multi-origin without forking the product

The fear that drives teams back to one global origin is maintenance: nobody wants three codebases. The answer is that multi-origin is a configuration decision, not a code fork. One codebase reads origin and region from environment-driven configuration, and the same application runs in every region with different data-routing rules injected at deploy time rather than branched in source.

Region-aware data routing replaces separate applications. A request for an identified user in a localization market routes to the in-region database; a request for public content routes to the global origin and the network. That routing layer is shared code, not a per-market branch, which is what keeps one product instead of several diverging ones. The China stack is the exception that proves the rule: it is decoupled at the deploy and incident level precisely so the rest of the markets stay one product, not because the product itself is forked.

Observability has to be per region or a regional outage is invisible. A global dashboard that aggregates all regions hides a China origin that has been down for an hour, because the aggregate numbers stay green. Instrument each origin and each regional database separately so a regional failure pages the right on-call. And keep the legal track running in parallel: this entire framework assumes the privacy topic's cross-border-transfer analysis as its input — which data class, which residents, which mechanism — and produces only the operational topology from it. The two tracks start together at project kickoff, neither standing in for the other.

What to decide before you pick a region

  • Classify every market as global-origin, regional-origin, or isolated-stack before any infrastructure design
  • Treat China as an isolated stack from project kickoff — separate origin, separate delivery network, decoupled deploy
  • Confirm Russia's 152-FZ Article 18(5) and any other localization trigger with the privacy topic's cross-border-transfer analysis, not from a static list
  • Map every data class to a cache rule and an origin rule — static globalizes, personal data may need to stay in-region
  • Audit the edge layer for personal-data processing, not just the origin
  • Record the legal basis in every matrix cell that is not "global origin"
Project Inquiry