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:
parent
01a020f1e6
commit
8caaee2b08
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue