Varnish Cache
Varnish Cache is a high-performance HTTP accelerator and reverse proxy designed for content-heavy dynamic websites and APIs. It sits in front of web servers and caches HTTP responses to serve repeated requests without hitting the backend, dramatically reducing load and latency. Varnish is configured via VCL (Varnish Configuration Language), a domain-specific language for request/response policy, and managed through a CLI interface (varnishadm) and a set of command-line tools for logging, statistics, and monitoring.
Varnish Cache publishes 3 APIs on the APIs.io network. Tagged areas include Caching, Caching Proxy, Content Delivery, HTTP Accelerator, and Open Source.
Varnish Cache’s developer surface includes documentation, release notes, engineering blog, Stack Overflow tag, and 6 more developer resources.
Kin Score
APIs 3
Individual APIs this provider publishes, each with its own machine-readable definition.
Varnish Cache CLI API
The Varnish Cache CLI management interface provides programmatic control over a running Varnish instance. It is accessible via varnishadm or TCP socket and supports configuratio...
Varnish Logging Tools
Varnish ships with a suite of log-analysis tools that read from the Varnish Shared Log (VSL). Tools include varnishlog (raw log streaming), varnishncsa (NCSA/Apache log format),...
Varnish Modules (VMODs)
VMODs are extensions written for Varnish Cache that extend VCL capabilities. Bundled modules include blob (binary data handling), cookie (HTTP cookie parsing), directors (load b...
Pricing Plans 1
Published pricing tiers and plan structures.
Rate Limits 1
Documented rate limits and quota policies.
Varnish Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Varnish Finops
FINOPSFeatures 10
Notable capabilities this provider offers.
HTTP Caching
Caches HTTP responses to reduce backend load and improve response times for repeated requests.
VCL Configuration Language
Domain-specific language for defining request/response handling policies with full programmability.
CLI Management Interface
TCP-based management interface for runtime configuration, VCL deployment, and cache control.
Backend Health Probes
Configurable health checks for backends with automatic failover to healthy backends.
Cache Invalidation (Bans)
Flexible cache invalidation via ban expressions matching any request/response attribute.
JSON Output
CLI commands support -j flag for structured JSON output, enabling programmatic management.
VMOD Extension System
Loadable modules (VMODs) extend VCL with cookie parsing, load balancing, digest, auth, and more.
HTTP/2 Support
Native HTTP/2 support via the h2 VMOD for modern protocol acceleration.
Shared Memory Log (VSL)
High-speed shared memory logging with rich request/response attributes for analysis tools.
Multi-threaded Architecture
Worker thread pool for high-throughput concurrent request handling with configurable threading.
Scroll for all 10
Security Posture 1
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Use Cases 7
What developers build with this provider.
API Gateway Caching
Cache REST API responses at the edge to reduce database and application server load.
CDN Origin Shield
Act as origin shield between CDN edge nodes and web/application servers.
Static Asset Acceleration
Cache and serve static assets (images, JS, CSS) with long TTLs.
A/B Testing
Use VCL to route traffic fractions to different backends for controlled experiments.
DDoS Mitigation
Absorb traffic spikes and rate-limit abusive clients via VCL policies.
Authentication Offloading
Offload token validation and session checks to VCL logic at the cache layer.
Request Routing
Route requests to different backend pools based on URL patterns, headers, or cookies.
Scroll for all 7
Integrations 8
Pre-built integrations with other platforms and tools.
Nginx
Common deployment pairing with Nginx as backend web server behind Varnish.
Apache HTTP Server
Classic deployment with Apache as origin server behind Varnish Cache.
Kubernetes
Deployable as a sidecar or DaemonSet in Kubernetes clusters for service-level caching.
Prometheus
Varnish statistics exportable via varnish_exporter for Prometheus scraping.
Grafana
Community dashboards available for Varnish Cache statistics via Prometheus/Grafana.
Drupal
Deep integration with Drupal Cache Tags for efficient purging of cached pages.
WordPress
VCL configurations and plugins available for WordPress caching integration.
Fastly
Fastly CDN is built on Varnish Cache; Fastly VCL is a fork of Varnish VCL.
Scroll for all 8
Resources
Documentation 1
Reference material describing how the API behaves
Build 2
SDKs, sample code, and the tooling you integrate with
Access & Security 1
Authentication, authorization, and security posture
Operate 3
Status, limits, changes, and where to get help
Company 3
The organization behind the API