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:
Major Hayden 2017-07-20 07:34:40 -05:00
parent 4361de2bc9
commit 5fe945ad54
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1
1 changed files with 6 additions and 0 deletions

View File

@ -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$)