Plugins
Overview
One of the key features of Apache Traffic Server™ is its modularity. Features that aren’t needed in the core simply aren’t there. This helps to provide an additional guarantee that our core can remain fast by concentrating on the things that we always provide: caching and proxying.
All other functionality can be moved into plugins and by offering a consistent C API, everyone can implement their own functionality, without having to touch the core.
Stable plugins
Plugins that are considered stable are installed by default in Traffic Server releases.
Delegates the authorization decision of a request to an external HTTP service.
Support for Amazon S3 authentication features.
Proactively fetch content from Origin in a way that it will fill the object into cache.
Cache Key and Parent Selection URL Manipulation
Allows some common cache key or parent selection URL manipulations based on various HTTP request elements.
Allows for control over which assets should be written to cache, or not.
Cache ranges by adding the range request header to the cache key.
Provides an intelligent way to combine multiple URLs into a single URL, and have Apache Traffic Server combine the components into one response.
Override configuration directives on a per-rule basis.
Implements the Edge Side Includes (ESI) specification.
Escalate: when the origin returns specific status codes, retry the request at a secondary origin (failover/fail-action)
Generate arbitrary response data.
Compress or deflate cache responses.
Modify requests and responses based on incoming and outgoing headers and other transaction attributes.
Define service health check links.
Allows plugins to be written in Lua instead of C code.
Configure remapping rules using regular expressions.
Configurable rules for forcing cache object revalidations using regular expressions.
Provide an HTTP interface to all Traffic Server statistics.
Log TCP metrics at various points of the HTTP processing pipeline.
Allows HTTP clients to debug the operation of the Traffic Server cache using the X-Debug header.
Experimental plugins
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
Access control plugin that handles various access control use-cases.
Manages and/or generates certificates for incoming HTTPS requests.
Examines and logs information on loaded certificates.
Allows to Collapse multiple Concurrent requests by downloading once from the Origin and serving all clients in parallel.
FQ Pacing: Rate Limit TCP connections using Linux’s Fair Queuing queue discipline
Deny or allow requests based on the source IP geo-location.
Count the frequency of headers.
Calculates JA3 Fingerprints for incoming SSL traffic.
ACL based on the maxmind geo databases (GeoIP2 mmdb and libmaxminddb)
Implements the memcache protocol for cache contents.
Implements the Metalink download description format in order to try not to download the same file twice.
Allows Trafficserver to participate in a distributed tracing system based upon the Comcast Money library.
MP4 streaming media.
Multiplex inbound requests to multiple upstream destinations. This is useful for requests that are beacons or other metric gathering requests, to report to multiple upstreams. Alternatively this can be used to do A/B testing by sending a duplicated slice of inbound production traffic to experimental upstreams.
Allows dynamic remaps from a MySQL database.
Pre-fetch objects based on the requested URL path pattern.
This remap plugin allows the administrator to easily setup remotely controlled PURGE
for the content of an entire remap rule.
Adds support for verifying URL signatures for incoming requests to either deny or redirect access.
Slice full file or range based requests into deterministic chunks, allowing large files to be spread across multiple cache stripes. Allows arbitrary range requests to be satisfied by stitching these chunks together.
Coordinates Session ID and ticket based TLS session resumption between a group of ATS machines.
Populate request headers with SSL session information.
Inserts system statistics in to the stats list
Dumps traffic data into a JSON format file which can be used to replay traffic.
Converts jpeg and png images to webp format.