Workers Sites & Pages
Host static sites and single-page applications directly on Cloudflare's edge using Workers Sites and Pages.
Host Static Sites at the Edge
Welcome! In this lesson, we'll explore how to host your static websites and Single Page Applications (SPAs) directly on Cloudflare's global network edge.
This means your site's content is served from locations physically closer to your users, leading to incredibly fast load times and a smoother experience.
Introducing Workers Sites
Cloudflare Workers Sites is a feature that allows you to deploy static assets, like HTML, CSS, JavaScript, and images, directly to the Cloudflare edge using the Wrangler CLI.
- It's perfect for simple static websites.
- It works great for Single Page Applications (SPAs) built with frameworks like React, Vue, or Svelte.
- You get the power of Workers to add dynamic logic if needed.