macOS
brew install varnishlocal Homebrew formula metadata
sudo port install varnishMacPorts ports tree · www/varnish/Portfile · 来源: api.github.com
安装
brew install varnishlocal Homebrew formula metadata
sudo port install varnishMacPorts ports tree · www/varnish/Portfile · 来源: api.github.com
sudo apk add varnishAlpine Linux edge package indexes · varnish · 来源: dl-cdn.alpinelinux.org
sudo apt install varnishDebian stable package indexes · varnish · 来源: deb.debian.org
sudo dnf install varnishFedora Rawhide package metadata · varnish · 来源: dl.fedoraproject.org
nix profile install nixpkgs#varnishnixpkgs package indexes · varnish · 来源: raw.githubusercontent.com
概览
High-performance HTTP accelerator
历史
Varnish Cache is an HTTP accelerator and reverse caching proxy designed to sit in front of origin servers and serve cached responses from memory. It is best known for VCL, the Varnish Configuration Language, which lets operators encode cache policy as programmable configuration.
The project began from the operational needs of VG Nett, the online branch of the Norwegian newspaper Verdens Gang. In 2005 the site was serving more than 45 million page views per week and needed twelve servers; system administrator Anders Berg wrote a specification for a faster open-source HTTP accelerator. Anders Nordby helped bring in Danish FreeBSD developer Poul-Henning Kamp, VG funded the work, and Linpro supplied development and support infrastructure.
The first code was submitted to the Varnish Cache repository on February 22, 2006. Varnish 1.0 followed in September 2006 as the first production release of the high-performance HTTP accelerator. By that point VG had replaced its Squid layer and was reportedly running on Varnish alone, handling traffic spikes with three servers instead of twelve.
The project later developed a commercial ecosystem. Varnish Software was founded in 2010 after spinning out from Linpro and took over development and management around the open-source project while offering web-acceleration products and support. The open-source line continued through major releases such as 2.0 in 2008, 3.0 in 2011, and 4.0 in 2014, while commercial offerings such as Varnish Plus added enterprise storage, high availability, tuning, API acceleration, and TLS-related products.
Varnish was adopted by high-traffic publishers, social platforms, and content-heavy sites because it focused narrowly on origin-side HTTP acceleration rather than general proxying. Official history material highlights adoption stories including Facebook, WikiLeaks under severe traffic pressure in 2010, Varnish User Group meetings, and the publication of community learning material such as the Varnish Book.
Its architecture reflected a package-operator culture: fast in-memory caching, shared-memory logging, separately packaged observability tools, and command-line administration. The administrator documentation describes the normal deployment pattern as installing Varnish in front of any HTTP server, configuring cache policy, and using reference tools such as `varnishadm`, `varnishlog`, `varnishstat`, `varnishncsa`, `varnishhist`, and `varnishtop` to operate it.
A typical Varnish deployment places `varnishd` between clients and an origin web server. Requests are answered from cache when possible and proxied to the origin otherwise. Cache policy is expressed in VCL, which official documentation describes as compiled into native code and run inside the worker, allowing policy decisions at line rate.
Package users usually care about the daemon, the default VCL path, system service integration, and the tooling suite. The same package often gives operators an interactive admin CLI, request logs, Apache-style access logging, real-time counters, histogram views, test tooling, and VCL validation, making Varnish feel more like a small HTTP-cache operating environment than a single binary.
Varnish matters in package-manager culture because it is a canonical example of a specialized Unix network daemon: small surface area, strong command-line tooling, a DSL for runtime policy, and a BSD-licensed open-source core that distributions can ship independently from commercial variants.
The modern branding has become more complex. The current Varnish site describes Varnish Cache as a distribution of the open-source Vinyl Cache project, with native TLS, containers, Helm charts, and long-term-support cadence layered around the original caching architecture. That transition is part of the stewardship story package maintainers now have to track.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
varnishadm | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishd | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishhist | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishlog | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishlog-json | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishncsa | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishstat | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishstat_help_gen | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishtest | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
varnishtop | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
vtest | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:varnish |
|---|---|
| 版本 | 9.0.3 |
| 软件包管理器 | Homebrew |
| 主页 | https://www.varnish-cache.org/ |
| 仓库 | https://github.com/varnish/varnish |
| 最后更新 | 2026-06-06T11:29:14Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
libvarnishapi-dev 7.7.0-3+deb13u1
development files for Varnish
sudo apt install libvarnishapi-devlibvarnishapi3 7.7.0-3+deb13u1
shared libraries for Varnish
sudo apt install libvarnishapi3varnish 7.7.0-3+deb13u1
state of the art, high-performance web accelerator
sudo apt install varnishvarnish-doc 7.7.0-3+deb13u1
documentation for Varnish Cache
sudo apt install varnish-docvarnish
nix profile install nixpkgs#varnishlibvarnishapi-dev 7.1.1-1.1ubuntu1
development files for Varnish
https://www.varnish-cache.org/
sudo apt install libvarnishapi-devlibvarnishapi3 7.1.1-1.1ubuntu1
shared libraries for Varnish
https://www.varnish-cache.org/
sudo apt install libvarnishapi3varnish 7.1.1-1.1ubuntu1
state of the art, high-performance web accelerator
https://www.varnish-cache.org/
sudo apt install varnishvarnish-doc 7.1.1-1.1ubuntu1
documentation for Varnish Cache
https://www.varnish-cache.org/
sudo apt install varnish-docvarnish 9.0.3-r0
High-performance HTTP accelerator
https://www.varnish-cache.org/
sudo apk add varnishvarnish-dbg 9.0.3-r0
High-performance HTTP accelerator (debug symbols)
https://www.varnish-cache.org/
sudo apk add varnish-dbgvarnish-dev 9.0.3-r0
High-performance HTTP accelerator (development files)
https://www.varnish-cache.org/
sudo apk add varnish-devvarnish-doc 9.0.3-r0
High-performance HTTP accelerator (documentation)
https://www.varnish-cache.org/
sudo apk add varnish-docvarnish-libs 9.0.3-r0
Libraries for varnish
https://www.varnish-cache.org/
sudo apk add varnish-libsvarnish-openrc 9.0.3-r0
High-performance HTTP accelerator (OpenRC init scripts)
https://www.varnish-cache.org/
sudo apk add varnish-openrcvarnish 9.0.3-3.fc45
High-performance HTTP accelerator
https://www.varnish-cache.org/
sudo dnf install varnish来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.