Cache

Last updated Jul 23, 2026 The following sections describe how to configure Cache with Regional Services and Customer Metadata Boundary to control where cached content is stored and served from.

Regional Services

To configure Regional Services for hostnames proxied (meaning traffic routes through Cloudflare) through Cloudflare and ensure that eligible assets are cached only in-region, follow these steps for the dashboard or API configuration:

  1. In the Cloudflare dashboard, go to the Records page. Go to Records ↗
  2. Follow these steps to create a DNS record.
  3. From the Region dropdown, select the region you would like to use on your domain.
  4. Select Save.

  5. To create records with the API, use the API POST command.

  6. Run the API POST command on the hostname to create a regional_hostnames with a specific region.

Note

Take into consideration that only Generic Global Tiered Cache and Custom Tiered Cache respect Regional Services. Smart Tiered Cache is incompatible with Regional Services.

Egress to origin

Regional Services controls where user traffic is decrypted and processed within Cloudflare's network. It does not by itself guarantee the geolocation of the egress IPs used by the Cloudflare CDN when connecting to your origin server. Egress IPs to your origin are site-local IPs from the in-region data center where the request was processed.

If you need guaranteed egress IP geolocation — for example, to allowlist Cloudflare IPs on your origin from a specific country — use Dedicated CDN Egress IPs in combination with Regional Services.

Customer Metadata Boundary

Cache Analytics, Generic Global Tiered Cache and Custom Tiered Cache are compatible with Customer Metadata Boundary. With Customer Metadata Boundary set to EU, the Caching > Tiered Cache tab in the zone dashboard will not be populated.

For more information on CDN and caching, refer to the Cache documentation.

Was this helpful?

YesNo

On this page

Cache - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/data-localization/how-to/cache/#page","headline":"Cache","description":"Configure Cache with Regional Services and Customer Metadata Boundary.","url":"https://developers.cloudflare.com/data-localization/how-to/cache/","inLanguage":"en","image":"https://developers.cloudflare.com/data-localization/how-to/cache/og.png?v=0dbb220e9572ec3f","dateModified":"2026-07-23","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Caching"]}


description: Configure Cloudflare for SaaS with Regional Services and Customer Metadata Boundary. title: Cloudflare for SaaS image: https://developers.cloudflare.com/data-localization/how-to/cloudflare-for-saas/og.png?v=2973f6f28493370c


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/data-localization/llms.txt
Use this file to discover all available pages before exploring further.