From 80be97e5af0983a821ed9a79e72219eab3c4cb46 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 27 May 2020 09:42:59 +0100 Subject: [PATCH] HTTP API to cache keys that have been requested --- serverkeyapi/api/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/serverkeyapi/api/api.go b/serverkeyapi/api/api.go index a8b018e63..f108d437b 100644 --- a/serverkeyapi/api/api.go +++ b/serverkeyapi/api/api.go @@ -107,6 +107,7 @@ func (s *httpServerKeyInternalAPI) FetchKeys( } for req, res := range response.Results { result[req] = res + s.immutableCache.StoreServerKey(req, res) } return result, nil }