Change cache control to revalidate each time
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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)); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 cschwinne
					cschwinne