[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH 0/4] HTTPD: Add caching
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2020-07-31 15:49:39
Message-ID: CAK1hOcNoGfAw9Z99Xb9XjosQzgWYbqvyfRzNUtKVUqDTnqbmHw () mail ! gmail ! com
[Download RAW message or body]

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 make Date: and Last Modified: optional?

Thank you.

On Fri, Jul 10, 2020 at 12:42 AM Sergey Ponomarev <stokito@gmail.com> wrote:
> 
> 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 logic is not implemented yes so \
> this makes even worse and more resources are spent: browsers always invalidates \
> their cache, date is formatted for each response and transmitted over networks \
> twice. This set of patches implements caching in most simplest and fastest way.
> 
> Sergey Ponomarev (4):
> httpd: do not send useless Date header
> httpd: send ETag header instead of Last-Modified
> httpd: Support caching via 'ETag:' header
> httpd: update to HTTP/1.1
> 
> networking/httpd.c | 82 ++++++++++++++++++++++++++++++++--------------
> 1 file changed, 58 insertions(+), 24 deletions(-)
> 
> --
> 2.25.1
> 
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic