Cloudflare Pages and Pages Functions
Lab 3 introduced Cloudflare Pages hosting and validated static site routing, application routes, and serverless function behavior.
Demonstrable content
Validate Pages and Functions with:
curl -I https://www.ybarra-cflab.com/ curl -I https://www.ybarra-cflab.com/app/ curl https://www.ybarra-cflab.com/api/info\
What was completed
- Deployed static content with Cloudflare Pages.
- Validated the root landing route.
- Validated the nested
/app/route. - Validated a Pages Function endpoint at
/api/info.
Technical summary
We deployed the project to Cloudflare Pages and confirmed that both static routes and a Pages Function endpoint were working. The static pages validated standard asset delivery, while the function endpoint demonstrated dynamic edge-executed behavior.
Customer-facing summary
We moved the site onto Cloudflare Pages, which makes it simple to host fast static pages while also supporting lightweight dynamic functionality at the edge. This gives the project a cleaner deployment model and a better foundation for future demos.