Cf-cache-status is always BYPASS with worker

I followed this post to build A worker just like in the post. But everything from this worker are uncached with header cf-cache-status=BYPASS and cache-control: max-age=0, no-cache, no-store. I tried to modified cache-control header to public, max-age=14400 but still not work.

How could I fix this problem?

Is your source BackBlaze? Possibly the initial fetch states cache-control: max-age=0, no-cache, no-store

My source is backblaze.

I tried to use this index.js to reach cache-control: public, max-age=14400 but cf-cache-status header is still BYPASS.

Note that CF Workers always run in front of the cache regardless of what you do in the worker. There’s a feature request for changing this:

I see.

Have voted this request.

Thanks for your help.