Workers Sites: Extending the Workers platform with our own serverless building blocks
Cloudflare has introduced a new feature that allows users to deploy entire websites directly to Cloudflare Workers and Workers KV using the Wrangler CLI. This makes it possible for developers to statically generate assets for their site, such as with create-react-app, Jekyll, or WP2Static plugin, and then deploy them to Cloudflare's global network spanning 194 cities in more than 90 countries. The Workers Developer Experience Team has made this process significantly better by enabling users to deploy static sites to Workers in three easy steps: run wrangler init --site, configure the newly created wrangler.toml file with account and project details, and then publish it to Cloudflare's edge with wrangler publish. This feature highlights the flexibility of the entire Workers platform to easily support use cases that were not originally envisioned.
Company
Cloudflare
Date published
Sept. 27, 2019
Author(s)
Ashley Williams
Word count
1572
Hacker News points
1
Language
English