Pages
Static and dynamic hosting via the Workers runtime — the platform this blog itself runs on.
This module is being expanded.
Coming in the next revision:
- What Pages is — static site hosting with Git integration, plus Pages Functions for serverless backends. Free for hobby use; reasonable for production.
- The Git deploy flow — push to main, Pages builds, deploys to every PoP within seconds. Preview deployments per pull request.
- Build configuration — supported frameworks (Astro, Next, Remix, SvelteKit, Hugo, plus direct static output). Build images.
- Pages Functions — Workers attached to your Pages project.
/api/*routes hit Functions; static routes hit Pages assets. - Pages vs Workers as primary deploy target. Pages for static + simple SSR; Workers when you want full control over routing.
- Custom domains, redirects, and
_headers/_redirectsfiles. - Migrating from Vercel / Netlify — what’s similar, what’s not.
This blog (zeshaq.pages.dev) is built with Astro and deployed via Pages. The deploy is a git push; the build runs in GitHub Actions; the output is uploaded to Pages via the wrangler-action.
Next: Module 12 — Security stack.