Hacker News new | ask | show | jobs
by rough-sea 1372 days ago
https://deno.com/blog/fresh-1.1#experimental-denoserve-suppo...

Just use --unstable to enable it.

1 comments

You also need to pass a `experimentalDenoServe: true` option in the options bag passed to `start()` in your `main.ts` file.

I forgot to add this to the post initially. Have retroactively added it now :)

Are there any benchmarks with the new server yet? Would be keen to see how it compares to the existing server as benchmarking on my machine showed a significant improvement over the existing http server in stdlib.