all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>
Cc: 58895@debbugs.gnu.org
Subject: bug#58895: GNU ELPA: Stale badges in GitHub cache
Date: Sun, 30 Oct 2022 11:21:56 -0400	[thread overview]
Message-ID: <jwvwn8h2vd7.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CADwFkmm6hMFzAikc4Wg_4TUJsm3+cOysxPH53uV-Y0uhf7EXRw@mail.gmail.com> (Stefan Kangas's message of "Sun, 30 Oct 2022 07:59:42 -0700")

> I often see stale badges in the GitHub cache, sometimes for several
> days.  I think we should use a "Cache-Control" header when serving them:

Hmm... we had a directive for that in Apache's config, but it wasn't
quite right.  It should be working now.
It uses slightly different settings.
You said "12 hours", your code sais 6 hours, and the code we had used
24 hours.  I kept the 24 hours.

Your code said "must-revalidate", the code we had (and still have)
said/says "public".  I think public is right, but I don't really know
what "must-revalidate" (or its lack) implies.


        Stefan






  reply	other threads:[~2022-10-30 15:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-30 14:59 bug#58895: GNU ELPA: Stale badges in GitHub cache Stefan Kangas
2022-10-30 15:21 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-10-30 15:46   ` Stefan Kangas

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=jwvwn8h2vd7.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=58895@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=stefankangas@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.