Do workers use the Cloudflare cache?

We use Cloudflare as a CDN for our website, mainly for the performance improvements from caching.

We are not on an enterprise plan, so we’d like to use the workers to log incoming requests and push them to S3 with Worker Logpush. I’m able to log requests easily enough by attaching a worker like this, to a route:

export default {
async fetch(request, env, ctx) {
return fetch(request);

But I’m wondering if this is completely bypassing the Cloudfront cache, and sending every incoming request to the origin, which is not what I want. Do I need to modify the return like this?:

return fetch(request, {cf: {cacheEverything: true}})

Most examples I see in the docs seem to await fetch, which gives me the impression that every request is going back to the origin. But I don’t have a good enough understanding of how the caching works alongside the worker.


Apologies, I meant “Cloudflare” not “Cloudfront”. I don’t seem to have an edit option.