[PATCH 0/4] HTTPD: Add caching

2020-08-08 Thread Sergey Ponomarev
Date and Last-Modified headers now can be disabled while there still enabled by default. I hope in future versions they become disabled by default and later removed at all. I checked and Cache-Control works fine in Chrome and Firefox even if Date is not present. Last-Modified can be replaced

Re: [PATCH 0/4] HTTPD: Add caching

2020-07-31 Thread Denys Vlasenko
Apologies for late reply. The removal of headers should be conditional on CONFIG variables - some people may used them, and also, since Date: is mandatory, unconditionally removing it doesn't feel right. Can you send a patch which combines patches 2, 3 and 4, and then, if you want, patches which

[PATCH 0/4] HTTPD: Add caching

2020-07-09 Thread Sergey Ponomarev
HTTP caching significantly decreases load and becomes especially important for embedded systems. HTTPD already returns Last-Modified header which then browser is sends back to server via If-Modified-Since. Server must compare these two dates and return 304 Not Modified without payload. But the