Cloudflare Workers Caching

I am attempting to cache the output of my cloudflare worker script. I am returning cache-control header of public,max-age=86400.

I have created a page rule for my domain to cache everything. Unfortunately I never get a cf-cache-status of HIT from cloudflare and every request increments my total worker request count.

What do I need to do to enable caching for my cloudflare worker?

A post was merged into an existing topic: Caching and Pricing