How to cache a POST response (example broken)

There is an existing post with answer (https://community.cloudflare.com/t/how-to-cache-a-post-request/349408/1) regarding how to cache POST responses within a Cloudflare Worker, the solution links to an example (https://developers.cloudflare.com/workers/examples/cache-post-request) however the example no longer seems to be working with the latest version of Clouldflare Workers, is anyone aware of a new solution for caching POST responses?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.