Replacements for pages _headers and _redirects

Hi, I've just migrated from pages to workers for my remix/react router apps. I used the _headers and _redirects for forcing cache headers on all files under a directory, and removing trailing slashes. e.g.

/favicon.ico?
  Cache-Control: public, max-age=3600, s-maxage=3600
/assets/*
  Cache-Control: public, max-age=31536000, immutable

or
/*/  /:splat  301 

I'm struggling to find the replacement in workers. I've seen assets.html_handling which it seems I can use drop-trailing-slash for. Hoping that will work on all endpoints. What about the caching?
Thanks
Was this page helpful?