Grigory Moroz

Results comments of Grigory Moroz

@ai Looks like it's all about weird char with code 65532 after curly bracket: ``` Current token: [ 'word', '.c', 1, 1, 1, 2 ] value: c code 46 Current...

@sindresorhus I would like to work on that Also, don't you want to set TTL and size manually? Or maybe for requests which are used often we can automatically increase...

btw can anyone assign this issue to me, because I'm already working on it (if it's necessary)

ok, so the cache is almost ready but I don't know what to do with resolving `localhost` type of addresses, please check [implementation docs on node `dns.lookup/dns.resolve*`](http://nodejs.cn/doc/node/dns.html#dns_implementation_considerations) So my plan...

@pietermees default `dns.lookup` method is not supporting providers `ttl` which we want to support. Also, we want to support different types of storage (i.e. `keyv`). About `dns.resolve()`, `dns.resolve*()` > These...

@pietermees oh ok, well the idea was to make automatic pre-initialized DNS cache, but still, you already able to do this: ```js await got('google.com', { lookup: CUSTOM_DNS_CACHE.lookup }); ```

ok so @sindresorhus @brandon93s what do you guys think about it? Maybe I can update the docs here at least?

@szmarczak you can cache all the addresses and then use round-robin strategy. But I'm not sure now if we do need to implement custom cache if you can simply pass...

@szmarczak [this package](https://github.com/eduardbcom/lookup-dns-cache) supports provided DNS TTL. I've been working on cache for got but then I got stuck because of this discussion.

Hi, I want to work on it. Do we need to set permission for the role or a specific user?