another try to disable http cache
This commit is contained in:
parent
a3038b255b
commit
82445efda4
@ -45,9 +45,9 @@ void server_loop() {
|
||||
void web_index() {
|
||||
server.setContentLength(CONTENT_LENGTH_UNKNOWN);
|
||||
server.send(200, "text/html", "");
|
||||
server.sendContent(R"(<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />)");
|
||||
server.sendContent(R"(<meta http-equiv="Cache-Control" content="store, no-cache, must-revalidate, post-check=0, pre-check=0" />)");
|
||||
server.sendContent(R"(<meta http-equiv="Pragma" content="no-cache" />)");
|
||||
server.sendContent(R"(<meta http-equiv="Expires" content="0" />)");
|
||||
server.sendContent(R"(<meta http-equiv="Expires" content="Sun, 1 Jan 1999 00:00:00 GMT" />)");
|
||||
|
||||
server.sendContent(R"(<a href="/mode?mode=0">NONE</a><br>)");
|
||||
server.sendContent(R"(<a href="/mode?mode=1">BORDER</a><br>)");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user