From eb0d031b973c6df074abed48460243541a8c2b12 Mon Sep 17 00:00:00 2001 From: Talyx Date: Sat, 5 Feb 2022 16:05:11 +0300 Subject: [PATCH] add: no-cache no-store --- src/Client/Response.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client/Response.cpp b/src/Client/Response.cpp index 7f841b3..d1ec40f 100644 --- a/src/Client/Response.cpp +++ b/src/Client/Response.cpp @@ -141,6 +141,7 @@ void Response::generateHeader(void) if (_request.getConnection() == "keep-alive") ss << "Keep-Alive: timeout=" << _request.getLifeTime() << "\r\n"; ss << "Date: " << getTime() << "\r\n"; + ss << "Cache-Control: no-store, no-cache, must-revalidate\r\n"; ss << "\r\n"; _header = ss.str(); }