How add headers to static assets?

I have tried _headers, functions, and _worker.js. They works only when there is no static assets matching the request URI. How to add headers to static assets?
Was this page helpful?