Request for Documentation for cf.cacheEverything

There’s a feature of the cf object, cf.cacheEverything, that is described on the page VCL Conversion / Controlling the Cache but is missing from the page Controlling Cloudflare Features.

On the VCL Conversion page:

Caching HTML (or other non-allowlisted file extensions):

// Force Cloudflare to cache an asset
fetch(event.request, { cf: { cacheEverything: true } })

Setting the cache level to Cache Everything will override the default “cacheability” of the asset. For TTL, Cloudflare will still rely on headers set by the origin.

Please copy this over to the main documentation for the cf object.

As a general request to improve the documentation: I’d like to see a single reference page to all of the cf object properties and methods in one list.

3 Likes

Hi Aaron,
Sorry you did not get any reply at the time here.
I believe the Workers documentation has improved since then:
See Request · Cloudflare Workers docs

Do you still have any question or feedback on this matter?

3 Likes