Skip to content

Commit 213bc75

Browse files
committed
Change cache control to revalidate each time
1 parent 8a2256e commit 213bc75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wled00/wled.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
// version code in format yymmddb (b = daily build)
11-
#define VERSION 2103200
11+
#define VERSION 2103201
1212

1313
//uncomment this if you have a "my_config.h" file you'd like to use
1414
//#define WLED_USE_MY_CONFIG

wled00/wled_server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ bool handleIfNoneMatchCacheHeader(AsyncWebServerRequest* request)
247247

248248
void setStaticContentCacheHeaders(AsyncWebServerResponse *response)
249249
{
250-
response->addHeader(F("Cache-Control"),"max-age=2592000");
250+
response->addHeader(F("Cache-Control"),"no-cache");
251251
response->addHeader(F("ETag"), String(VERSION));
252252
}
253253

0 commit comments

Comments
 (0)