Add ability to customize Cache-Control (#69802)
This continues https://github.com/vercel/next.js/pull/39707 bringing the
changes up to date with canary and adds test cases to ensure it's
working as expected.
Closes: https://github.com/vercel/next.js/issues/22319
Closes: https://github.com/vercel/next.js/pull/39707
Closes: NDX-148