Change cache control to revalidate each time

This commit is contained in:
cschwinne 2021-03-21 02:40:12 +01:00
parent 8a2256e0d8
commit 213bc75ae1
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
*/
// version code in format yymmddb (b = daily build)
#define VERSION 2103200
#define VERSION 2103201
//uncomment this if you have a "my_config.h" file you'd like to use
//#define WLED_USE_MY_CONFIG

View File

@ -247,7 +247,7 @@ bool handleIfNoneMatchCacheHeader(AsyncWebServerRequest* request)
void setStaticContentCacheHeaders(AsyncWebServerResponse *response)
{
response->addHeader(F("Cache-Control"),"max-age=2592000");
response->addHeader(F("Cache-Control"),"no-cache");
response->addHeader(F("ETag"), String(VERSION));
}