Workers for new Pages projects?
I was reading the Cloudflare Pages docs because I'm interested on deploying a SSG website using Cloudflare, but while I was reading about the limits of Cloudflare Pages, I can notice a message saying that Claudflare recommends to use Cloudflare Workers for new projects.
Can someone give me insights about this? I'm completely new with Pages and Workers.

2 Replies
Unlike Pages, Workers has a distinctly broader set of features available to it, (including Durable Objects, Cron Triggers, and more comprehensive Observability). This was not always the case, but most features that were pages exclusive only migrated to workers from time to time.
See: https://developers.cloudflare.com/workers/static-assets/migration-guides/migrate-from-pages/#compatibility-matrix
Cloudflare Docs
Migrate from Pages to Workers
A guide for migrating from Cloudflare Pages to Cloudflare Workers. Includes a compatibility matrix for comparing the features of Cloudflare Workers and Pages.
I have found using Workers far more complicated and introduces errors during deployment, and honestly, I don't see why the change when everyone else (Azure, Netlify, Digital Ocean) isn't abandoning their similar interfaces in exchange for this extra effort. We are just going to move to Digital Ocean.