Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#65046 - Arch Linux Archive returns improper 302 redirect responses
Attached to Project:
Arch Linux
Opened by Andrei Pozolotin (random-archer) - Saturday, 04 January 2020, 17:21 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 30 December 2022, 08:13 GMT
Opened by Andrei Pozolotin (random-archer) - Saturday, 04 January 2020, 17:21 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 30 December 2022, 08:13 GMT
|
Details1. Arch Linux Archive:
https://wiki.archlinux.org/index.php/Arch_Linux_Archive returns improper 302 redirect responses, which has no "Expires" or "Cache-Control" headers, and which therefore can not be properly cached by squid, consequently resulting in repeated needless hits on the archive server 2. the problem is confirmed by squid developers: http://lists.squid-cache.org/pipermail/squid-users/2020-January/021586.html http://lists.squid-cache.org/pipermail/squid-users/2020-January/021587.html http://lists.squid-cache.org/pipermail/squid-users/2020-January/021592.html 3. the solution is to add standard HTTP "Expires" and/or "Cache-Control" headers when generating responses for repository requests: https://archive.archlinux.org/repos/* |
This task depends upon

I have no idea about the archive but I added some people who might know.

Can you guys check this one out please?

Regardless of what we do, archive.org's redirect will still be uncacheable (unless I'm missing something). Therefore, we might as well leave it as-is for consistency. :)