プラグイン

概要

Apache Traffic Server™ の重要な機能の一つはモジュール性です。コアに不要な機能はコアの中には存在しません。これは良いことです。なぜならば、それはコアが常に提供するキャッシュとプロキシーに集中することにより、速い状態を保つことができるからです。

他の全ての機能はプラグインに移すことができます。安定した C API を使うことにより、コアに触ること無く、誰でも独自の機能を実装することができます。

安定したプラグイン

安定的なプラグインです。これらは Traffic Server のリリースにデフォルトでインストールされれています。

AuthProxy
Delegates the authorization decision of a request to an external HTTP service.
AWS S3 Authentication
Support for Amazon S3 authentication features.
Background Fetch
Proactively fetch content from Origin in a way that it will fill the object into cache.
Cache URL
Modify the cache key used for requests by applying a regular expression to the URL.
Configuration Remap
Override configuration directives on a per-rule basis.
ESI
Implements the Edge Side Includes (ESI) specification.
Generator
Generate arbitrary response data.
GZip
Compress or deflate cache responses.
Header Rewrite
Modify requests and responses based on incoming and outgoing headers and other transaction attributes.
Health Checks
Define service health check links.
Regex Remap
Configure remapping rules using regular expressions.
Regex Revalidate
Configurable rules for forcing cache object revalidations using regular expressions.
Stats over HTTP
Provide an HTTP interface to all Traffic Server statistics.
TCPInfo
Log TCP metrics at various points of the HTTP processing pipeline.
XDebug
Allows HTTP clients to debug the operation of the Traffic Server cache using the X-Debug header.

実験的なプラグイン

Plugins that are considered experimental are located in the plugins/experimental directory of the Traffic Server source tree. Experimental plugins can be compiled by passing the --enable-experimental-plugins option to configure:

$ autoconf -i
$ ./configure --enable-experimental-plugins
$ make
Balancer
Balances requests across multiple origin servers.
Buffer Upload
Buffers POST data before connecting to the Origin server.
Cache Key Manipulation
Allows some common cache key manipulations based on various HTTP request elements.
Cache Promote
Provides additional control over when an object should be allowed into the cache.
Collapsed-Forwarding
Allows to Collapse multiple Concurrent requests by downloading once from the Origin and serving all clients in parallel.
Combo Handler
Provides an intelligent way to combine multiple URLs into a single URL, and have Apache Traffic Server combine the components into one response.
Epic
Emits Traffic Server metrics in a format that is consumed by the Epic Network Monitoring System.
Escalate
Escalate: when the origin returns specific status codes, retry the request at a secondary origin (failover/fail-action)
GeoIP ACL
Deny or allow requests based on the source IP geo-location.
HIPES
Adds support for HTTP Pipes.
Memcache
Implements the memcache protocol for cache contents.
Metalink
Implements the Metalink download description format in order to try not to download the same file twice.
MP4
MP4 streaming media.
MySQL Remap
Allows dynamic remaps from a MySQL database.
Signed URLs
Adds support for verifying URL signatures for incoming requests to either deny or redirect access.
SSL Headers
Populate request headers with SSL session information.
Stale While Revalidate
Refresh content asynchronously while serving stale data.
TS Lua
Allows plugins to be written in Lua instead of C code.
WebP Transform
Converts jpeg and png images to webp format.