Skip to content

Commit

Permalink
squid: Fix caching of ""*.xml.zck" 206 partial content
Browse files Browse the repository at this point in the history
  • Loading branch information
JGoutin committed May 1, 2023
1 parent 2adc770 commit 326bd19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions roles/squid/templates/squid.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ acl StoreIdDomains dstdomain .squid.internal
store_miss deny StoreIdDomains !SafeStatus
send_hit deny StoreIdDomains !SafeStatus

# Allow caching of "repodata/*.xml.zck"
range_offset_limit 128 MB
quick_abort_min -1

# Refresh patterns : RPM packages
refresh_pattern -i \.(rpm|drpm|srpm)$ 43200 80% 129600 override-expire override-lastmod ignore-reload ignore-no-store reload-into-ims
refresh_pattern /repodata/repomd\.xml$ 0 0% 0
Expand Down

0 comments on commit 326bd19

Please sign in to comment.