Add comment for acng DontCache line
This patch adds a comment that explains the DontCache regular
expressions in the apt-cacher-ng configuration file.
Change-Id: Idbce7a5446f10482ab01fb4d45a62561b79c1520
(cherry picked from commit dc80ec4412
)
This commit is contained in:
parent
4361de2bc9
commit
5fe945ad54
|
@ -23,4 +23,10 @@ PassThroughPattern: .*
|
|||
Proxy: {{ proxy_env_url }}
|
||||
{% endif %}
|
||||
VfilePatternEx: ^/\?release=[0-9]+&arch=
|
||||
# NOTE(mhayden): Caching the CentOS mirror list causes yum to throw
|
||||
# 503 errors intermittently since the remote file is dynamic. Also,
|
||||
# yum has issues with retrieving the mariadb.org repodata bz2 and
|
||||
# that causes more intermittent 503 errors. This DontCache line
|
||||
# tells apt-cacher-ng to allow requests for these to pass through
|
||||
# without being cached.
|
||||
DontCache: (mirrorlist.centos.org)|(mariadb.org.*.bz2$)
|
||||
|
|
Loading…
Reference in New Issue