From 3666be087225c06bc79a22bf80756cb6b8660899 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 3 Dec 2018 21:27:26 +0100 Subject: [PATCH] Added "public" to Cache-Control header. "max-age" already indicates that it can be cached, but it can't hurt to allow it explicitly. --- src/libravatarserv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libravatarserv.cpp b/src/libravatarserv.cpp index 0221dac..0b3e233 100644 --- a/src/libravatarserv.cpp +++ b/src/libravatarserv.cpp @@ -31,7 +31,7 @@ settings::Settings settings::settings; int main() { cout << "Server: libravatarserv/" << global::version << endl; - cout << "Cache-Control: max-age=86400\n"; + cout << "Cache-Control: public, max-age=86400\n"; cout << "Connection: close\n"; const char *request = std::getenv("REQUEST_URI");