Deploying "Cloudflare Pages" on specific routes

Hello,

Can I configure my pages app to only run/work on a specific path?
We want to experiment with pages and migrate one or a few specific paths to return their static content via cloudflare pages, instead of going to the upstream.
However, for any non-matching path we need to go the “regular” upstream.
While I know I can do this by having a catch-all path in pages that runs a cloudflare workers function, this means I’ll have to pay for all those requests that go through the workers function so I’m looking for a way to evaluate this (and hopefully migrate to pages) via only serving one (or more) page(s) via cloudflare pages.

Thank you.

Create a subdomain and test on it.

No. Many have tried. All have failed. Unless you use Workers, as you already mentioned.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.