Ensure pages/500 handles cache-control as expected (#72050)
When `pages/500` uses `getStaticProps` we can honor statically generating the page but we can't send a `Cache-Control` with `stale-while-revalidate` as we shouldn't be caching errored pages ever. This ensures we handle that case and add a regression test for it.
Showing
Please
register
or
sign in
to comment