Store a resolution and persist it. Write failures are logged and swallowed — the cache is best-effort and never fatal.
(&mut self, server_url: &str, name: &str, public_key: &str, status: &str)
| 151 | /// Write failures are logged and swallowed — the cache is |
| 152 | /// best-effort and never fatal. |
| 153 | pub fn put(&mut self, server_url: &str, name: &str, public_key: &str, status: &str) { |
| 154 | self.put_with_ttl(server_url, name, public_key, status, DEFAULT_CACHE_TTL); |
| 155 | } |
| 156 | |
| 157 | /// Store a resolution with an explicit TTL (tests use negative TTLs). |
| 158 | pub fn put_with_ttl( |