diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2020-08-09 01:23:33 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-08-15 23:23:45 +0200 |
commit | b6efac31d864cffdf618744fd8a6fddbdee3eb4b (patch) | |
tree | 4c2f5e1201761a1e7e19db7c774d3f970f8a2d96 /configs/android_502_defconfig | |
parent | 68f75bb9cecbed3a1bed29219de77373fcba7a88 (diff) | |
download | busybox-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 'configs/android_502_defconfig')
0 files changed, 0 insertions, 0 deletions