知识库

Zinn® Cache:配合 nginx、Varnish 或 Apache 缓存使用 Zinn® Cache

在已有 nginx、Varnish、Apache 或 Cloudflare 缓存页面的服务器上设置 Zinn® Cache,以便在其中清除已更改的页面,并通过更新逐步刷新网站。

Use Zinn® Cache with an nginx, Varnish or Apache cache

Set up Zinn® Cache on a server where nginx, Varnish, Apache or Cloudflare already caches pages, so changed pages are purged there and updates refresh the site gradually.

  1. Check what is caching — In WordPress open Zinn Digital®, Cache, Status, and press Check now. If nginx, Varnish or Apache caches your pages, the screen names it, and Zinn® Cache does not add its own page cache behind it.
  2. Choose your server cache — Open the Server cache tab and pick nginx, Varnish or Apache mod_cache. Choose None if nothing caches pages in front of WordPress: Zinn® Cache's own file cache then does the job.
  3. Tell it how to purge — nginx: a purge request (the ngx_cache_purge module; set Send purges to http://127.0.0.1 when a CDN is in front), deleting the cache files when WordPress can read the cache folder, or a folder your host's purger reads. Varnish: its address, with PURGE or BAN allowed from the server. Apache: the CacheRoot folder, with mod_cache in a reverse-proxy virtual host.
  4. Add Cloudflare if it caches your pages — Switch on Cloudflare purge and paste your zone ID and an API token limited to Cache Purge. Changed pages are then purged from Cloudflare's edge too.
  5. Test one address — On the Status tab, purge one address, then load it signed out twice: the first answer is miss, the next hit. Updates and plugin activations now refresh the site a batch a minute instead of emptying every cache at once.
  6. Or let us run the server — On Zinn Digital® hosting the server cache, Redis and Zinn® Cache come set up and tested together, on LiteSpeed, with nothing to configure.

With screenshots: https://zinncache.com/kb/wordpress-cache-with-nginx-varnish-or-cloudflare

博客最新动态

我们关于托管、SEO 和大规模网站运营的撰文。

来自托管层的 SEO 与外链建设:2026 年运营商视角

虚拟主机如何在 2026 年影响收录与链接资产传递(link equity):保持页面被有效索引、在建站前严格审查老域名、构建无痕迹(footprint)的外链,以及客观剖析底层基础设施在 SEO 方面的能力与局限。

阅读文章 →

让 WordPress 更快更安全:性能与插件核对清单

打造快速、安全的 WordPress 的实用核对清单:服务器级缓存、按站点设置的对象缓存、少数几个值得运行的插件、保持技术栈最新,以及绝不能进行缓存的 WooCommerce 页面。

阅读文章 →

如何在 2026 年选择托管型网站托管服务:购买者指南

究竟是什么将优质的托管服务与带控制面板的廉价主机区分开来——迁移、备份、隔离、真正的缓存以及诚实的扩展能力——以及如何在您做出决定之前对其进行评估。

阅读文章 →

阅读博客 →

仍需帮助?

每个套餐均包含技术支持,客服团队全天 24 小时在线,您可以用我们支持的任意 58 种语言与我们联系——我们将用您的语言为您解答。

联系支持团队 → 所有文章 →