diff --git a/main/web_server.c b/main/web_server.c index 514c5ad..2a38128 100644 --- a/main/web_server.c +++ b/main/web_server.c @@ -174,7 +174,7 @@ static const char SPA_PAGE[] = " uids.forEach(function(u){" " var nm=esc(data[u]);" " html+='
';" - " html+='\"art\"';" + " html+='\"art\"';" " html+='
'+nm+'
'+u+'
';" " html+='';" " html+='
';" @@ -516,7 +516,7 @@ static esp_err_t handle_art(httpd_req_t *req) } httpd_resp_set_type(req, "image/jpeg"); - httpd_resp_set_hdr(req, "Cache-Control", "public, max-age=86400"); + httpd_resp_set_hdr(req, "Cache-Control", "no-cache, must-revalidate"); char chunk[1024]; size_t n = 0;