# Render static sites vs Cloudflare Pages

- Date: 2026-12-02T05:41:25.084Z
- URL: https://render.com/articles/render-static-sites-vs-cloudflare-pages

Cloudflare now gives you two ways to host a static site: Cloudflare Pages and Workers with static assets. Render offers static sites as one service type, alongside web services for APIs, managed Postgres databases and background workers.

*The short answer*

If your static site or frontend pairs with a backend, choose Render static sites. You can define your entire app's architecture in one Blueprint file in your repo.

If your site is static-only, gets high traffic, and has no backend, Cloudflare costs less, because requests to static assets are free and unlimited on its free and paid plans.

This guide covers the two Cloudflare options first. It then compares them with Render on builds, limits and previews, then on domains, headers and redirects, then on bandwidth, and finally on backend pairing.

# Pages vs Workers static assets: what Cloudflare recommends now

Cloudflare Pages is a Cloudflare product for deploying static and full-stack applications to Cloudflare's global network. You connect a Git repository, and Pages builds and deploys your site on every push.

Workers static assets lets you upload HTML, CSS, images and other files as part of a Worker. Cloudflare then caches those files and serves them to browsers. For a purely static site, you point the `assets.directory` setting at your build output.

Cloudflare now steers new projects toward Workers Static Assets, listing it as the recommended way to deploy static sites, single-page applications, and full-stack apps on Cloudflare. It also tells you to use Workers instead of Pages if you're starting a new project.

If you're choosing today, this means:

- *New static sites land on Workers.* Cloudflare's Workers path supports static assets, framework guides and Git-connected builds.
- *Existing Pages projects keep running.* Pages continues to work, but Cloudflare focuses new features and optimizations on Workers.
- *Migration is optional and documented.* Cloudflare publishes a guide for moving a Pages project to Workers.

The two products also count builds differently: Pages limits builds per month, while Workers Builds meters build minutes. The rest of this article compares Render with both options wherever their terms differ.

# Builds, file limits, and preview deployments

|  | Render static sites | Cloudflare Pages | Workers static assets |
| --- | --- | --- | --- |
| Build allowance | 500 pipeline minutes/month on Hobby, 1,000 on Pro, 5,000 per workspace on Scale, then $5 per 1,000 minutes | 500 builds/month on Free, 5,000 on Pro, 20,000 on Business | 3,000 build minutes/month on Free, 6,000 on paid plans, then $0.005/minute |
| Concurrent builds | One active build per service | 1 on Free, 5 on Pro, 20 on Business, counted per account | 1 on Free, 6 on paid plans |
| Build timeout | 120 minutes for the build command | 20 minutes | 20 minutes |
| File count | Not listed | Up to 20,000 files on Free and up to 100,000 files per site on paid plans (requires PAGES_WRANGLER_MAJOR_VERSION=4) | 20,000 per Worker version on Free, 100,000 on Paid (requires Wrangler 4.34.0+) |
| Individual file size | Not listed | 25 MiB per site asset, per Cloudflare's Pages limits documentation | 25 MiB on Free and Paid |
| Preview deployments | Pull request previews, free when the base service is a free static site | Unique preview URL for each pull request opened from the repository itself | Previews give each branch its own URL under the same Worker and require Wrangler 4.135.0 or later |

These limits matter most in three situations:

- *Long builds.* If your build runs longer than 20 minutes, both Cloudflare products time it out. Render lets a build command run for up to 120 minutes.
- *Frequent deploys.* Pages caps builds per month at 500, 5,000, or 20,000, depending on plan. Render and Workers both meter build time by the minute instead. Render's static sites count against the workspace's monthly included pipeline minutes.
- *Large sites.* A site with more than 20,000 files exceeds the Workers Free file limit and needs a paid plan, which raises the limit to 100,000.

All three products give each pull request or branch its own preview. On Pages, previews carry an `X-Robots-Tag: noindex` header by default. Cloudflare keeps Workers versions and Pages deployments for 30 days, then deletes them, except the 100 most recent and whatever is currently deployed. On Workers, you configure previews with a `previews` block in your Wrangler configuration file. Meanwhile, Render's [pull request previews](https://render.com/docs/service-previews) work on every workspace plan, and they’re billed at the same rate as your base service.

# Custom domains, headers and redirects

|  | Render static sites | Cloudflare Pages | Workers static assets |
| --- | --- | --- | --- |
| Custom domains | 2 included on Hobby, 15 on Pro, 25 on Scale, then $0.25/domain/month | 100 per project on Free, 250 on Pro, 500 on Business | Custom Domains, with DNS records created by Cloudflare |
| Managed TLS | Fully managed TLS, with certificates always included free | Cloudflare issues certificates for custom domains | Certificates issued on your behalf |
| Custom response headers | Defined in the Render Dashboard or the `headers` field of a render.yaml Blueprint | `_headers` file in the static asset directory | Not listed |
| Redirects and rewrites | Redirect rules (`301 Moved Permanently`) and rewrite rules, set in the Dashboard or render.yaml | `_redirects` file, which works alongside Bulk Redirects | Not listed |
| Where configuration lives | Render Dashboard, or a `render.yaml` Blueprint | Domains in the dashboard, with headers and redirects in plain-text files | Wrangler configuration file for the asset directory, plus Custom Domains managed by Cloudflare |

The biggest practical difference is where configuration lives. On Pages, you write header and redirect rules in plain-text files named `_headers` and `_redirects` in your project's static asset directory, and Pages parses these files instead of serving them. Because the files live in your build output, your rules ship with every deploy, the same way your code does. Redirect order matters: when several redirects match the same source path, Pages applies the top-most one.

Each platform counts domains differently. Cloudflare Pages limits custom domains per project. Render includes a set number of domains with each workspace plan and charges $0.25 per month for each extra domain. Cloudflare Workers Custom Domains connect a Worker to a domain in your Cloudflare zone without manual DNS changes or certificate management. See Render's docs on [custom domains](https://render.com/docs/custom-domains) and [redirects and rewrites](https://render.com/docs/redirects-rewrites).

# Bandwidth and cost for static-only sites

On both free and paid plans, requests to static assets on Pages are free and unlimited. Per [Cloudflare's Workers pricing page](https://developers.cloudflare.com/workers/platform/pricing/), requests to static assets on Workers are also free and unlimited (unless Workers Caching is enabled, in which case cached static asset requests are billed at the standard per-request rate).

You can deploy static sites on Render for free. Render serves static sites over a global CDN with fully managed TLS certificates. They count against your workspace's monthly included outbound bandwidth and pipeline minutes. Per [Render's pricing page](https://render.com/pricing), included bandwidth is 5 GB on Hobby, 25 GB on Pro and 1 TB on Scale, then $0.15 per GB.

# When a backend on Render pairs with your static site

If your frontend needs an API, a database, or background jobs, you can run them next to your static site on Render. Render web services host API servers, and every workspace plan includes Postgres databases and background workers.

Pairing your static site with a backend on Render gives you three things:

- *One platform, one repo.* Link your Git repo, and Render updates your site with every push to your specified branch. Your backend services deploy from your Git provider the same way.
- *One Blueprint.* [Blueprints](https://render.com/docs/infrastructure-as-code) let you configure your app's entire architecture with a single YAML file. Place this `render.yaml` file at the top level of your repository. A Blueprint is the single source of truth for a connected set of services, databases and environment groups, and Render redeploys affected services when you update it.
- *Previews on the same platform.* Hobby includes single-service previews, and Pro and higher plans add full-stack preview environments.

# Choosing your static host

| Your situation | Choose |
| --- | --- |
| Static-only, high traffic, no backend | Cloudflare, using Workers static assets for new projects |
| Static site or frontend paired with an API, database or workers | Render static sites, with the site and backend defined in a single Blueprint |

If your static site has backend and heavy traffic, use Cloudflare. Start new projects on Workers static assets If your frontend pairs with an API, Postgres or workers, use [Render static sites](https://render.com/docs/static-sites), and define the site and its backend services in one Blueprint.

# Frequently asked questions

###### Do I have to migrate an existing Pages project to Workers?

No. Pages keeps working, though Cloudflare directs new features and optimizations to Workers. If you do move, Cloudflare's migration guide notes that static asset requests are free on Workers just as on Pages, so the cost structure is similar.

###### Why does my build time out on Cloudflare but finish on Render?

Pages and Workers Builds both stop a build after 20 minutes. Render gives the build command up to 120 minutes.

###### Do I need a paid Workers plan for a large static site?

Only if you exceed the free file count. Workers Free allows 20,000 static asset files per Worker version, and Workers Paid allows 100,000. To use the higher limit, you need Wrangler 4.34.0 or later. Workers caps each file at 25 MiB on both plans.

###### Does Render charge for static site bandwidth?

Render hosts static sites for free. Outbound bandwidth and build pipeline minutes count against your workspace's included amounts, and you pay only for usage beyond them. Per [Render's pricing page](https://render.com/pricing), Hobby includes 5 GB of bandwidth, Pro 25 GB and Scale 1 TB per month, then $0.15 per GB.

###### My site has no backend today but probably will later. Which host should I start on?

Start where you expect to end up. If an API or database is on your roadmap, deploy the static site on Render now. Later, you add the backend to the same repo and Blueprint instead of moving hosts.

###### Can I keep my frontend on Cloudflare and run only the backend on Render?

You can split hosts, but you typically end up with a higher total cost of ownership. Your frontend and backend no longer share one Blueprint, and you manage domains, previews and configuration in two places. That split makes the most sense when your static traffic is high enough that Cloudflare's free, unlimited static asset requests outweigh the extra coordination.

###### How do I keep headers and redirects in version control on Render, the way Pages does with its plain-text files?

Define your static site in a `render.yaml` Blueprint instead of only in the Render Dashboard. You can then version control this configuration using Render's Infrastructure as Code functionality.

