Skip to content
Search

Cloudflare:Pages

lastmod 2026-04-02created 2025-01-016 edits

Build, deploy, and deliver reliable full-stack applications in no time with Pages. Developers, designers, and product teams can collaborate and deploy with minimal configuration.

Frameworks

MkDocs

Configuration option

Value

Production branch

main

Build command

mkdocs build

Build directory

site

To set the Python version

Environment variables (advanced) > Add variable

and add the variable PYTHON_VERSION with a value of 3.7.

Limits

Files

Pages uploads each file on your site to Cloudflare's globally distributed network to deliver a low latency experience to every user that visits your site. Cloudflare Pages sites can contain up to 20,000 files.

File size

The maximum file size for a single Cloudflare Pages site asset is 25 MiB.

Larger Files

To serve larger files, consider uploading them to R2 and utilizing the public bucket feature. You can also use custom domains, such as static.example.com, for serving these files.

_redirects

A _redirects file is limited to 2,000 static redirects and 100 dynamic redirects, for a combined total of 2,100 redirects. Each redirect declaration has a 1,000-character limit.

Redirect

Pricing

  • Free
    • 1 build at a time
    • 500 builds per month
    • 100 custom domains per project
    • Unlimited sites
    • Unlimited static requests
    • Unlimited bandwidth

See also

Favorite site

author Zer0 sitemap