Change8

@cloudflare/workers-utils@0.20.0

📦 cloudflare-workersView on GitHub →
2 features

Summary

This release introduces a new `cache` configuration option in Wrangler to enable HTTP caching for Workers fetch handlers, with specific support for preview deployments.

✨ New Features

  • Introduced the `cache` configuration option in Wrangler to enable an HTTP cache in front of the Worker's `fetch` handler.
  • The `cache` setting supports preview deployments via `[previews]` configuration, where `previews.cache` overrides the top-level setting or falls back to it.