diff options
Diffstat (limited to 'bench/react-hello-world.node.jsx')
| -rw-r--r-- | bench/react-hello-world.node.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/react-hello-world.node.jsx b/bench/react-hello-world.node.jsx index 1f765d4a4..b267bbd4d 100644 --- a/bench/react-hello-world.node.jsx +++ b/bench/react-hello-world.node.jsx @@ -18,6 +18,7 @@ http // If something errored before we started streaming, we set the error code appropriately. res.statusCode = didError ? 500 : 200; res.setHeader("Content-type", "text/html"); + res.setHeader("Cache-Control", "no-transform"); // set to match the Deno benchmark, which requires this for an apples to apples comparison stream.pipe(res); }, onShellError(error) { |
