From: Leah Neukirchen <leah@vuxu.org>
To: Eric Wong <e@80x24.org>
Cc: meta@public-inbox.org
Subject: Re: More efficient Atom feeds for public-inbox
Date: Thu, 28 Apr 2022 19:46:45 +0200 [thread overview]
Message-ID: <877d79f6d6.fsf@vuxu.org> (raw)
In-Reply-To: <20220426224123.GB30933@dcvr> (Eric Wong's message of "Tue, 26 Apr 2022 22:41:23 +0000")
Eric Wong <e@80x24.org> writes:
> Leah Neukirchen <leah@vuxu.org> wrote:
>> Hi,
>>
>> currently, public-inbox sends the Atom feed with
>> Content-Type: application/atom+xml and no further headers.
>>
>> Since many feed readers poll feeds quite often, this creates noticable
>> traffic and load.
>>
>> Would it make sense to serve the <updated>...</updated> field as
>> Last-Modified and/or compute some ETag, so feed readers can use
>> conditional GET?
>
> Yes, thanks for the reminder; I keep forgetting this :x
> I think some of the streaming stuff needs to be updated...
> Would you happen to know if Last-Modified or ETag is more commonly
> supported by clients? ETag may actually be easier *shrug*
I don't know, but I guess most serious software supports both, so just
having ETag should be fine too.
--
Leah Neukirchen <leah@vuxu.org> https://leahneukirchen.org
prev parent reply other threads:[~2022-04-28 17:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 20:53 More efficient Atom feeds for public-inbox Leah Neukirchen
2022-04-27 8:31 ` Eric Wong
[not found] ` <20220426224123.GB30933@dcvr>
2022-04-28 17:46 ` Leah Neukirchen [this message]
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
List information: https://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877d79f6d6.fsf@vuxu.org \
--to=leah@vuxu.org \
--cc=e@80x24.org \
--cc=meta@public-inbox.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).