Cache remoteAddress
See original GitHub issueFor https://github.com/sindresorhus/got/pull/827 we need the remoteAddress in the cache. This would require (as I understand correctly) connection: { remoteAddress: response.connection.remoteAddress }
in the following lines:
https://github.com/lukechilds/cacheable-request/blob/d50e6af350b6f52814c71ce3908e704a3d5f428e/src/index.js#L119-L124
And a connection parameter in https://github.com/lukechilds/responselike/blob/093a21bc25ecc82daf17f436c13fd807e5d8eee0/src/index.js#L7
Is this a conceivable change?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
remoteAddress | Apple Developer Documentation
For multipath protocols, this is the remote address of the initial flow. ... whether the resource was loaded, pushed, or retrieved from the...
Read more >Not clear for how long does openVPN caches the resolved IP ...
Currently when running openVPN client in log it says: Preserving recently used remote address: For how long it will cache it? How to...
Read more >Cached Remote Address is not updated · Issue #929 - GitHub
When I connect to my vpn on yesterday, the vpn client caches the ip address for the host name. But the cache is...
Read more >remoteAddress - Unleash
Unleash Proxy Client/io.getunleash/UnleashContext/remoteAddress. remoteAddress. val remoteAddress: String? = null. Content copied to clipboard. Sources.
Read more >How to get the cache data from specified ChannelHandler in ...
In the server,when receiving request login from every client,I will cache the data using ConcurrentHashMap<String, String>() in the method ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If we can’t change the default, there needs to be a way for us to hook it so that we can add it ourselves. (See https://github.com/sindresorhus/got/pull/827)
@JaneJeon - we are now working on this and plan to use
hooks
as part of the implementation for it.