Cloudflare Pages vs Workers?
What's the difference between Cloudflare Pages and Workers.
Cloudflare Workers is a serverless execution platform which can be used to host a static website using the Cloudflare CLI using the Wrangler function to deploy to workers a sub domain. Cloudflare pages is the newer dedicated static website hosting product which is integrated with workers to run serverless functions. YouDoPhoto integrates with both workers and pages and supports deployment to a pages.dev, workers.dev or custom domain.
By default Cloudflare Pages is integrated with GitHub and GitLab. In order to publish a website Cloudflare builds a static site from a git repository, therefore a user has to update a git repository in order to update a website. This approach requires the user to set up a content management system. YouDoPhoto headless CMS resolves this by direct upload via the CLI from your local build folder. Direct upload means that you are not dependent upon the Cloudflare and GitHub free plan 500 build limit.
Compare Static Hosting