Workers site: How to set Cache-Control header?

Am very new to Cloudflare Workers sites and need an answer to what I believe is a simple question: Where in the code do I set the Cache-Control header for assets like .css and .woff2 files?

I deployed a test site successfully to (KV storage) but the Cache-Control value for these assets keeps showing up as no-cache. I have looked through quite a bit of documentation and can’t find a definitive answer to this question.

Update: Got an answer on Stack Overflow.

1 Like