From: Fabio Riccardi <fabio@chromium.com>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>,
Christopher Smith <x@xman.org>,
Andrew Morton <andrewm@uow.edu.au>,
"Timothy D. Witham" <wookie@osdlab.org>,
David_J_Morse@Dell.com
Subject: Re: X15 alpha release: as fast as TUX but in user space
Date: Sun, 29 Apr 2001 14:25:11 -0700 [thread overview]
Message-ID: <3AEC86B7.119362D9@chromium.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0104281029390.15790-100000@localhost.localdomain>
I can disable header caching and see what happens, I'll add an option for this
in the next X15 release.
Nevertheless I don't know how much this is interesting in real life, since on
the internet most static pages are cached on proxies. I agree that the
RFC asks for a date for the original response, but once the response is cached
what does this date mean?
- Fabio
Ingo Molnar wrote:
> Fabio,
>
> i noticed one weirdness in the Date-field handling of X15. X15 appears to
> cache the Date field too, which is contrary to RFCs:
>
> earth2:~> wget -s http://localhost/index.html -O - 2>/dev/null | grep Date
> Date: Sat Apr 28 10:15:14 2001
> earth2:~> date
> Sat Apr 28 10:32:40 CEST 2001
>
> ie. there is already a 15 minutes difference between the 'origin date of
> the reply' and the actual date of the reply. (i started X15 up 15 minutes
> ago.)
>
> per RFC 2616:
> .............
> The Date general-header field represents the date and time at which the
> message was originated, [...]
>
> Origin servers MUST include a Date header field in all responses, [...]
> .............
>
> i considered the caching of the Date field for TUX too, and avoided it
> exactly due to this issue, to not violate this 'MUST' item in the RFC. It
> can be reasonably expected from a web server to have a 1-second accurate
> Date: field.
>
> the header-caching in X15 gives it an edge against TUX, obviously, but IMO
> it's a questionable practice.
>
> if caching of headers was be allowed then we could the obvious trick of
> sendfile()ing complete web replies (first header, then body).
>
> Ingo
next prev parent reply other threads:[~2001-04-29 21:21 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-28 0:18 X15 alpha release: as fast as TUX but in user space Fabio Riccardi
2001-04-28 0:41 ` Aaron Lehmann
2001-04-28 0:49 ` David S. Miller
2001-04-28 1:11 ` Fabio Riccardi
2001-04-28 8:42 ` Ingo Molnar
2001-04-28 13:15 ` Ville Herva
2001-04-28 13:21 ` Ingo Molnar
2001-04-28 13:24 ` Ingo Molnar
2001-04-28 13:30 ` Ville Herva
2001-04-28 13:55 ` Andi Kleen
2001-04-29 21:25 ` Fabio Riccardi [this message]
2001-04-30 5:43 ` dean gaudet
2001-04-30 6:39 ` David S. Miller
2001-04-30 19:36 ` Fabio Riccardi
2001-04-30 21:47 ` dean gaudet
2001-04-30 21:52 ` David S. Miller
2001-05-01 7:31 ` Ingo Molnar
2001-05-01 7:25 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2001-04-28 7:32 Ingo Molnar
2001-04-29 21:19 ` Fabio Riccardi
2001-05-01 8:53 ` Ingo Molnar
2001-05-01 17:10 ` Fabio Riccardi
2001-05-01 17:12 ` Ingo Molnar
2001-05-04 1:58 ` Fabio Riccardi
2001-05-04 8:49 ` Ingo Molnar
2001-05-04 18:10 ` Fabio Riccardi
2001-05-04 18:38 ` Davide Libenzi
2001-05-09 22:42 ` Fabio Riccardi
2001-05-02 8:50 ` Ingo Molnar
2001-05-02 14:12 ` Zach Brown
2001-05-03 2:41 ` Fabio Riccardi
2001-05-02 23:19 ` Lincoln Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AEC86B7.119362D9@chromium.com \
--to=fabio@chromium.com \
--cc=David_J_Morse@Dell.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andrewm@uow.edu.au \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=wookie@osdlab.org \
--cc=x@xman.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox