我尝试使用 squid 缓存从 yum 存储库获取的 rpm 包。使用以下配置,它适用于较小的 rpm,但不会缓存较大的,如 openjdk。
从日志文件(如下)来看,即使maximum_object_size 128 MB设置了它,它似乎也不会缓存大于 4MB 的文件。
任何建议可能有什么问题?
鱿鱼.conf:
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port …Run Code Online (Sandbox Code Playgroud) squid ×1