ESPAsyncWebServer
ESPAsyncWebServer copied to clipboard
set real "Last-Modified" header based on file's LastWrite time
Get file's LastWrite timestamp for file handlers (if supported by FS driver) and construct proper Last-Modified
header. Works fine for LittleFS. If not supported by FS than fallback to previous implementation with manual setup for Last-Modified
value.
This way caching in browsers really works as it should be for any file updates on fs.