https://developers.cloudflare.com/workers/examples/cache-using-fetch/#using-the-http-cache-api For

https://developers.cloudflare.com/workers/examples/cache-using-fetch/#using-the-http-cache-api

For some reason when I try to use the new
cache
parameter, VS Code complains about this:

Object literal may only specify known properties, and 'cache' does not exist in type 'RequestInit<RequestInitCfProperties>'.ts(2353)
Was this page helpful?