mirror of
https://github.com/nmap/nmap.git
synced 2026-02-14 01:16:33 +00:00
We already use the web cache, so the requests weren't being sent more than once in many situations, but since the "random" requests were generated using a timestamp, they change after 1 second, resulting in more requests and cache bloat. So instead, we cache the result of the function call, since that should be stable for the lifetime of the service. Still using the web cache to avoid multiple requests in a 1-second timespan.
107 KiB
107 KiB