aboutsummaryrefslogtreecommitdiff
path: root/networking/ifplugd.c
diff options
context:
space:
mode:
authorSergey Ponomarev <stokito@gmail.com>2020-08-09 01:23:33 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2020-08-15 23:23:45 +0200
commitb6efac31d864cffdf618744fd8a6fddbdee3eb4b (patch)
tree4c2f5e1201761a1e7e19db7c774d3f970f8a2d96 /networking/ifplugd.c
parent68f75bb9cecbed3a1bed29219de77373fcba7a88 (diff)
downloadbusybox-b6efac31d864cffdf618744fd8a6fddbdee3eb4b.tar.gz
httpd: Don't add Last-Modified header to response
The Last-Modified header is used for caching. The client (browser) will send back the received date to server via If-Modified-Since request header. But both headers MUST be an RFC 1123 formatted string. And the formatting consumes resources on request parsing and response generation. Instead we can use ETag header. This simplifies logic and the only downside is that in JavaScript the document.lastModified will return null. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ifplugd.c')
0 files changed, 0 insertions, 0 deletions