Multi Workers For API - Use one worker as main router or use Cloudflare routes?
are ,
I am building an API with over 15 workers.
What is the best way to route? Reading the docs I can see there are two approaches:
1: Map custom domain to one Worker that invokes the others based on the URL
2: Use the Routes feature in the Cloudflare
One seems to be the better option but I am unsure. Help and advice needed.
I am building an API with over 15 workers.
What is the best way to route? Reading the docs I can see there are two approaches:
1: Map custom domain to one Worker that invokes the others based on the URL
2: Use the Routes feature in the Cloudflare
One seems to be the better option but I am unsure. Help and advice needed.