Squid 配置指令 nonhierarchical_direct
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | nonhierarchical_direct |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | nonhierarchical_direct on |
| 建议配置 |
|
By default, Squid will send any non-hierarchical requests (not cacheable request type) direct to origin servers. When this is set to "off", Squid will prefer to send these requests to parents. Note that in most configurations, by turning this off you will only add latency to these request without any improvement in global hit ratio. This option only sets a preference. If the parent is unavailable a direct connection to the origin server may still be attempted. To completely prevent direct connections use never_direct. |
|
