Can Worker responses be cached automatically based on headers?

I just moved from Vercel to Cloudflare Pages/Workers. I have headers set for cache-control on those responses, but they get marked with a header
cf-cache-status: DYNAMIC
still.

I have this header set
Cache-Control: s-maxage=60, stale-while-revalidate=600


How do I achieve that?
Was this page helpful?