What would be the fastest way of making a simple get-request to a server? I don't care about the answer and want to cut down as much as possible to make it as fast as possible.So far I am doing something like this:var request = require("request");request(url, function (error, response, body) {console.log(body);}I found a module called "req-fast", that seems to perform better, but at the same time it doesn't seem to support https, so it wasn't the right library for me.Any ideas of what to do / what to improve?
Submitted June 15, 2017 at 04:16AM by cephii2
No comments:
Post a Comment