add: no-cache no-store

This commit is contained in:
Talyx
2022-02-05 16:05:11 +03:00
parent 43ab7fb412
commit eb0d031b97

View File

@@ -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();
}