Skip to content

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varnish Cache (varnish)

About this repository

This is not our API. This repository is an independent, third-party profile of a company's publicly available API surface, maintained by API Evangelist. API Evangelist does not operate, host, resell, or support this company's APIs, and is not affiliated with or endorsed by the company unless stated on the profile.

Where the information came from. Everything here is assembled from material a member of the public can reach with a browser and no credentials — the company's own website, developer portal and documentation, the specifications it publishes for public use (OpenAPI, AsyncAPI, JSON Schema, apis.json, llms.txt and similar), its public repositories, and its public status, pricing and changelog pages. Nothing here is obtained by breaching a system, defeating an access control, or using credentials of any kind.

The rating is an independent assessment. The Kin Score and Agent Readiness rating are independently calculated scores of a company's public API artifacts, produced by API Evangelist against a published rubric. They are not certifications, endorsements, security assessments, or audits, and they score published artifacts — not the quality, safety, or security of the software.

Corrections, re-scores, and removal are free. No partnership, contract, or purchase is required, and you do not need to justify the request.

  • Something wrong? Open an issue on this repository, or email info@apievangelist.com.
  • Published something new? Ask for a re-score and we will re-run the rating.
  • Want the listing taken down? Say so and we will honor it. The profile is reduced to your company name, a factual description, and a link to your own site, and the company is recorded as unrated — never scored zero for having asked.

Response times. Acknowledgement within one business day; removal or restriction within two business days; corrections and re-scores within five business days.

On a security or compliance team? Email info@apievangelist.com with security in the subject line and you will get a person, not a form. We will tell you exactly which public URLs this profile was built from so your team can see the same surface we did, and we will take the listing down on request while you work through it.

Full detail: Where this data comes from

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.

URL: https://varnish-cache.org/

Run: Capabilities Using Naftiko

Tags:

  • Caching, Caching Proxy, Content Delivery, HTTP Accelerator, Open Source, Proxy, Reverse Proxy

Timestamps

  • Created: 2026-03-27
  • Modified: 2026-05-03

APIs

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 configuration management (VCL load/use/discard), backend health control, cache ban/invalidation, parameter tuning, and process management. Commands can return JSON output with the -j flag.

Human URL: https://varnish-cache.org/docs/trunk/reference/varnish-cli.html

Tags:

  • Cache Management, Caching, CLI, Configuration, Reverse Proxy

Properties

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), varnishstat (live counters), varnishtop (real-time activity display), and varnishhist (response time histogram).

Human URL: https://varnish-cache.org/docs/trunk/reference/

Tags:

  • Logging, Monitoring, Observability, Statistics

Properties

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 balancing strategies), h2 (HTTP/2 control), proxy (PROXY protocol support), purge (cache purging), std (standard utility functions), and unix (Unix socket support). Additional community VMODs are available for headers, digest, auth, and more.

Human URL: https://varnish-cache.org/docs/trunk/reference/vmod.html

Tags:

  • Extensions, Modules, Plugins, VMODs

Properties

Common Properties

Features

Name Description
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.

Use Cases

Name Description
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.

Integrations

Name Description
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.

Maintainers

FN: Kin Lane

Email: kin@apievangelist.com

About

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.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors