mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-14 22:36:09 +08:00
kojipkgs: repomd.xml (the small one) should never be cached
We can cache any other file in the repo, even the repository metadata. But repomd.xml is the smallest part (glue) that needs to be always up2date to correctly reference the actual repofiles. Fixes: https://pagure.io/fedora-infrastructure/issue/10531
This commit is contained in:
@@ -83,6 +83,9 @@ sub vcl_recv {
|
||||
if (req.url ~ "^/mass-rebuild/") {
|
||||
return (pipe);
|
||||
}
|
||||
if (req.url ~ "/repomd.xml") {
|
||||
return (pipe);
|
||||
}
|
||||
|
||||
# Rewrite toplink URLs to improve cache hit ratio
|
||||
# See: https://pagure.io/fedora-infrastructure/issue/7383
|
||||
|
||||
Reference in New Issue
Block a user