Re: [squid-users] never_direct/always_direct

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Tue, 18 May 2010 01:41:15 +0200

mån 2010-05-17 klockan 11:02 +0000 skrev GIGO .:
> Dear all,
>
> never_direct/always_direct
>
>
> Why two directives had to be created while one directive could have done the trick? Please guide

Because both common and complex configuration is generally easier to
model with two directives than one tri-state directive.

Plus that tri-state directives was very hard to add to squid.conf parser
at the time these directives were added.

The three states of these two directives are

  always direct
  automatic (default)
  never direct

The intended use of the directives is that you set one to override the
automatic mode in the direction you need. If both is set for the same
request then always_direct have priority which simplifies the most
common cases.

Regards
Henrik
Received on Mon May 17 2010 - 23:41:18 MDT

This archive was generated by hypermail 2.2.0 : Tue May 18 2010 - 12:00:05 MDT