PROVIDER - Open-source caching proxy
Apache Traffic Server
Apache Traffic Server is the Apache Foundation's caching proxy for HTTP/1.1 and HTTP/2, usable as forward or reverse proxy, with a plugin framework for header rewriting, ESI assembly and custom cache algorithms, powering major CDNs.
3.8pts
Service Overview
Apache Traffic Server, usually shortened to ATS, is the Apache Software Foundation's open-source caching proxy, positioned as a scalable HTTP/1.1 and HTTP/2 cache server. It works as either a forward or a reverse proxy, and the project reports that major CDNs and content providers run it as their delivery core, carrying multiple terabits per second.
The project revolves around configuration files and plugins: routing, cache policy, logging and protocol behaviour are all declared in configuration, while extension work goes through a C plugin interface. It ships under Apache License 2.0, the source lives on GitHub, and security releases are issued per branch by the project team.
Key Strengths
- Supports HTTP/1.1 and HTTP/2 while serving as forward proxy or reverse cache.
- Ships under Apache 2.0, so deployment and in-house modification stay unrestricted.
- The plugin interface rewrites headers, assembles ESI fragments and swaps cache algorithms.
- Published customers include major CDNs, with the project citing multiple terabits per second.
- Security releases keep coming; the October 2026 advisory fixed fifteen vulnerabilities.
Limitations
- It is the caching proxy alone; consoles and billing systems are left to the operator.
- Configuration lives in configuration files, and no graphical interface ships with it.
- Release cycles move quickly, so third-party plugins must be checked before upgrading.
- Chinese material comes mostly from community blogs, while official docs are English-only.
- No managed service is offered, so nodes and bandwidth must be bought and run in-house.
Product Ecosystem
The figure below separates protocol, cache and plugin layers, with plugins extending the cache.
Caching and Proxying
The cache handles object storage and expiry and answers hits locally; the proxy side supports forward, reverse and transparent modes, which is enough to build multi-tier caching, origin shielding and edge nodes.
Plugins and Extensions
The plugin interface covers header rewriting, content filtering, ESI fragment assembly and custom cache algorithms, and the repository ships a set of reference plugins. Plugins are written in C and compiled into shared libraries, keeping overhead low at the cost of development effort.
Protocol Support
HTTP/1.1 and HTTP/2 are both fully supported, and the project lists emerging protocols as ongoing work. Protocol behaviour and connection reuse are configurable, which suits an edge layer handling many concurrent connections.
Deployment and Releases
Version 10 and later build with CMake, and the repository provides a release preset, after which the trafficserver command starts the service. The project maintains several stable branches, and each security advisory lists the fixed release per branch.
Use Cases
- Good fit | Self-built multi-tier caching and edge nodes: proxy modes and cache policy combine into tiers.
- Good fit | Teams needing deep cache customisation: plugins replace cache algorithms and request handling.
- Good fit | High-concurrency static delivery: the project cites tens of thousands of requests per second.
- Good fit | Businesses amortising cost on owned hardware: the software is free, spend sits in servers and bandwidth.
- Evaluate first | Teams without operations staff: consoles, monitoring and certificates are self-built.
- Evaluate first | Scenarios requiring GUI management: no graphical interface ships officially.
- Evaluate first | Production systems needing a vendor SLA: commercial support must be bought separately.
Pricing & Billing Selection
| Access path | Reference price | Billing unit | Main capability |
|---|---|---|---|
| Apache Traffic Server | Free (USD 0) | Per deployment node, no licence fee | Apache-2.0 licence, caching proxy core and plugins |
| Distribution packages and images | Free (USD 0) | Unlimited | Builds maintained by distributions or the community |
| Commercial support | Provided by third parties | Per contract | Deployment, tuning and incident support |
| Operational cost | Servers and bandwidth | By actual usage | Nodes, bandwidth and staff are self-funded |
Source note: details come from trafficserver.apache.org and project documentation in November 2026. The software is free under Apache License 2.0 with no licence fee, while commercial support is contracted through third-party providers rather than the project.
FAQ
-
How does it compare with other caching proxies?
ATS belongs to the Apache Foundation and has long served large CDNs and content platforms, with strength in throughput and plugin extensibility; Varnish leans toward programmable policy and in-memory caching, while Nginx blends static serving with reverse proxying. Choose by throughput target, the configuration style the team knows and plugin ecosystem. -
What licence applies?
Apache License 2.0 allows commercial use, modification and redistribution, provided copyright and licence notices are retained in derivative work. Compared with copyleft licences it suits internal modification and closed-source integration, though legal review should still confirm whether a NOTICE file must accompany distribution. -
How is it built from source?
Version 10 and later use CMake, and the repository ships a release preset, so running the preset build, compiling and installing covers most cases; distribution packages and container images work too. Before production, validate cache policy and plugins in staging, then size the node count against measured capacity. -
Which release should be chosen?
The project maintains several branches, and security advisories list affected and fixed versions, as the October 2026 notice did for three branches at once. Production should pin a stable branch and follow security updates, verifying plugins and configuration compatibility before any major upgrade. -
Is it suitable for building a CDN?
It suits teams with operations capability. ATS supplies caching, proxying and a plugin framework for multi-tier caching and edge nodes, but consoles, billing, certificate management and monitoring must be built alongside. For single-node acceleration, a distribution package with tuned cache rules covers most needs.
Integration & Code Examples
Example 1: Build from source and start
cmake --preset release
cmake --build build-release --target install
/opt/ats/bin/trafficserver start
Example 2: Set listening ports and enable caching
# records.config
CONFIG proxy.config.http.server_ports STRING 8080
CONFIG proxy.config.http.cache.http INT 1
CONFIG proxy.config.cache.ram_cache.size INT 268435456
Example 3: Define reverse proxy routes
# remap.config
map http://cdn.example.com/ http://origin.example.com/
map https://cdn.example.com/ https://origin.example.com/
Community & Resources
Official channels
- Apache Traffic Server — project home and overview
- Downloads — source packages and distribution links
- Documentation — configuration, plugins and operations
- GitHub repository — source, issues and contribution guide
Ecosystem and comparison
- CDN Acceleration — CDN and edge platform directory
- Varnish Cache — memory-first open-source HTTP accelerator
- OpenResty — edge platform built on Nginx and Lua
- Nginx — static serving and reverse proxy
- Akamai — commercial CDN and edge network
Articles
- 01 DCDN Acceleration and Cache Safety 07-18
- 02 Two-Factor Authentication: Implementation and Recovery 07-18
- 03 CDN Bill Decomposition and Cost Order 07-18
- 04 Video Streaming CDN: Protocol and Cache Design 07-18
- 05 Multi-CDN Routing and Failover Setup 07-18
- 06 Zero Trust Architecture: Decisions, Not a Gateway 07-18
- 07 Vulnerability Scanner Selection 07-18
- 08 Let's Encrypt Certificate Setup and Renewal 07-18
- 09 CDN Onboarding: DNS and Origin Checks 07-18
- 10 SSL Certificate Types: DV, OV, EV Differences and Validation Scope 07-18