From e0d6c653f7ed329c5171a08dd2f80330a745b907 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 21 Aug 2020 06:16:44 -0700 Subject: [PATCH] modules/client/sync: Remove cache control; fix empty response cache. --- modules/client/sync.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/client/sync.cc b/modules/client/sync.cc index 2469b35cb..3d9b11fc8 100644 --- a/modules/client/sync.cc +++ b/modules/client/sync.cc @@ -252,15 +252,10 @@ ircd::m::sync::handle_get(client &client, ) }; - static const http::header response_headers[] - { - { "Cache-Control", "public, max-age=31536000, immutable" } - }; - // Start the chunked encoded response. resource::response::chunked response { - client, http::OK, response_headers, buffer_size + client, http::OK, buffer_size }; // Start the JSON stream for this response. As the sync items are iterated