Edge Computing with Cloudflare Workers
Workers Sites: Extending the Workers platform with our own serverless building blocks

Workers Sites: Extending the Workers platform with our own serverless building blocks

9/27/2019 · Ashley Williams

What this post added

Introduced 'Workers Sites' which allows deploying entire static websites to Cloudflare Workers. This is achieved by simulating a filesystem on top of Workers KV, where file paths are keys and file content is values. Wrangler CLI handles the upload of assets and creation of an asset manifest. The Worker script then uses this manifest to look up assets in KV and populate the Cloudflare edge cache with content hashes for long-term storage and performance. This enables caching of static assets, including HTML, at the edge.

Read the original post ↗