всички настройки
bookworm  ] [  trixie  ] [  sid  ]
[ Източник: libvmod-selector  ]

Пакет: varnish-selector (2.6.0-5 и други)

Връзки за varnish-selector

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник libvmod-selector.

Отговорници:

Външни препратки:

Подобни пакети:

match strings with backends, regexen and other strings

Varnish Module (VMOD) for matching strings against sets of fixed strings. A VMOD object may also function as an associative array, mapping the matched string to one or more of a backend, another string, an integer, or a regular expression. The string may also map to a subroutine that can be invoked.

The VMOD is intended to support a variety of use cases that are typical for VCL deployments, such as:

 * Determining the backend based on the Host header or the prefix of
   the URL.
 * Rewriting the URL or a header.
 * Generating redirect responses, based on a header or the URL.
 * Permitting or rejecting request methods.
 * Matching the Basic Authentication credentials in an Authorization
   request header.
 * Matching media types in the Content-Type header of a backend
   response to determine if the content is compressible.
 * Accessing data by string match, as in an associative array, or by
   numeric index, as in a standard array.
 * Dispatching subroutine calls based on string matches.
 * Executing conditional logic that depends on features of the request
   or response that can be determined by matching headers or URLs.

Operations such as these are commonly implemented in native VCL with an if-elsif-elsif sequence of string comparisons or regex matches. As the number of matches increases, such a sequence becomes cumbersome and scales poorly -- the time needed to execute the sequence increases with the number of matches to be performed. With the VMOD, the strings to be matched are declared in a tabular form in vcl_init, and the operation is executed in a few lines.

Други пакети, свързани с varnish-selector

  • зависимости
  • препоръчани
  • предложени
  • enhances

Изтегляне на varnish-selector

Изтегляне за всички налични архитектури
Архитектура Версия Големина на пакета Големина след инсталиране Файлове
amd64 2.6.0-5 58,3 кБ134,0 кБ [списък на файловете]
arm64 2.6.0-5+b1 56,9 кБ179,0 кБ [списък на файловете]
mips64el 2.6.0-5 55,6 кБ181,0 кБ [списък на файловете]
ppc64 (неофициална архитектура) 2.6.0-5 60,3 кБ178,0 кБ [списък на файловете]
ppc64el 2.6.0-5 60,6 кБ178,0 кБ [списък на файловете]
riscv64 2.6.0-5 59,1 кБ126,0 кБ [списък на файловете]
s390x 2.6.0-5 57,7 кБ130,0 кБ [списък на файловете]