netlify
Cache Pages Forever
Netlify will by default break caches on a new deploy. But, if you want them to expire naturally even if you've deployed a new version of the site, based on the header settings you provided, use this header:
Netlify-Cache-ID: example,cache,id,list # or Netlify-Cache-ID: example
With this, you can keep your cache between different deploys! I wasn't able to figure out if such a thing is possible on Vercel.
Combine this with Netlify's cache tag system, and you have a powerful tool at your disposal.