diff --git a/src/WebCfgServer.cpp b/src/WebCfgServer.cpp
index bb3e977..fe922a4 100644
--- a/src/WebCfgServer.cpp
+++ b/src/WebCfgServer.cpp
@@ -2028,9 +2028,6 @@ void WebCfgServer::buildHtmlHeader(String &response)
{
response.concat("
");
response.concat("");
-// response.concat("");
response.concat("");
response.concat("Nuki Hub");
@@ -2299,11 +2296,13 @@ void WebCfgServer::handleOtaUpload()
void WebCfgServer::sendCss()
{
// escaped by https://www.cescaper.com/
+ _server.sendHeader("Cache-Control", "public, max-age=3600");
_server.send(200, "text/css", stylecss, sizeof(stylecss));
}
void WebCfgServer::sendFavicon()
{
+ _server.sendHeader("Cache-Control", "public, max-age=604800");
_server.send(200, "image/png", (const char*)favicon_32x32, sizeof(favicon_32x32));
}
@@ -2349,4 +2348,4 @@ String WebCfgServer::getPreselectionForGpio(const uint8_t &pin)
}
return String((int8_t)PinRole::Disabled);
-}
\ No newline at end of file
+}