🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
MSCache Varnish Purge icon
Mantido Testado até 7.0.9

MSCache Varnish Purge

Purge Varnish cache from the WordPress admin: automatic purge on content changes, exclusions, manual tools and full cache purge.

Instalações ativas20+10+ nível
Downloads · 30d79▲ +6.8% vs prev. 30d
Classificação—0 comentários
Pontuação da saúde52/100Justo
Downloads de todos os tempos449Since Jun 2026
Suporte resolvido—Sem tópicos recentes
RequerWP 5.6PHP 7.0+
Downloads · 7d19▼ -17.4% week over week
Nosso veredicto

Use com cautela

MSCache Varnish Purge works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 6 months ago, and scores 52/100 on our health check.

  • Base de usuários pequenas (mais de 20 instalações ativas)
  • Muito poucos comentários até agora

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

4812Sep 5Oct 19Dec 3
Ontem3
Média diária (1y)3
Dia de pico27Jun 15, 2026
Últimos 12 meses458

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where MSCache Varnish Purge stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
esconderijo >100 10,000 Melhores plugins de cache →
execução >100 10,000 Plugins de melhor desempenho →
Purge #48 1,566 Best Purge plugins →
reverse proxy #58 696 Best reverse proxy plugins →
varnish #19 247 Best varnish plugins →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 1.0100.0%

About MSCache Varnish Purge

Do Readme oficial · v1.0.0

Descrição

MSCache Varnish Purge helps WordPress administrators purge the Varnish cache for sites running behind a Varnish HTTP reverse proxy. It is developed by Managed Server S.r.l. and provides settings for configuring the Varnish connection, automatic cache invalidation when content changes, and manual purge tools available from the WordPress admin area.

This plugin is useful when your WordPress site sits behind Varnish and you need cached pages to be invalidated after content is published or updated, or on demand. It requires a reachable Varnish instance whose VCL is configured to accept PURGE requests from the WordPress server (see the FAQ for a reference VCL).

The settings page is available at Settings → MSCache Varnish Purge. On WordPress Multisite, shared connection settings are configured at Network Admin → Settings → MSCache Network, while each site keeps its own purge options.

Key Features

  • Asynchronous raw socket PURGE — sends PURGE requests via a direct TCP socket (fsockopen) without waiting for the Varnish response, so the purge request does not block the WordPress request.
  • Automatic purge on content changes — when a post, page, or custom post type is published, updated, trashed, or deleted, the plugin automatically purges the affected URLs including the post itself, home page, categories, tags, author archives, and date archives.
  • Full cache purge — supports multiple methods for purging the entire cache: PURGE wildcard, PURGE custom path, or BAN with configurable header.
  • Additional URLs — define a list of extra paths to purge alongside content changes or on demand.
  • Exclusion patterns — define glob or regex patterns for URLs that should be excluded from caching. Matching requests receive the ms-cache: excluded HTTP header, which can be used by Varnish to skip caching.
  • Admin bar integration — quick-access purge buttons in the WordPress admin bar: Purge All, Purge Home, Purge Current Page.
  • Bulk and row actions — purge cache for selected posts/pages directly from the list table.
  • Debug logging — optional logging of all purge operations to a protected log directory.
  • PHP 7 and PHP 8 compatible — works on PHP 7.0 through PHP 8.x without deprecation warnings.

How It Works

The plugin opens a raw TCP socket to your Varnish server and sends an HTTP PURGE request with the appropriate Host header. The socket is closed immediately after writing the request — the plugin does not wait for Varnish to respond. This “fire and forget” approach is designed to avoid blocking the WordPress request while the purge is processed.

Serviços externos

This plugin optionally connects to the following external services when configured by the administrator:

Cloudflare API — When the Cloudflare integration is enabled, the plugin sends cache purge requests to the Cloudflare API v4 (https://api.cloudflare.com/client/v4/) to synchronize Varnish cache invalidation with Cloudflare CDN edge cache. This requires a Cloudflare account, a Zone ID, and an API Token with “Zone.Cache Purge” permission. No personal data or visitor information is transmitted — only URL paths and authentication credentials are sent.

Varnish Cache — The plugin opens raw TCP socket connections to a Varnish server at a user-configured IP address and port (default: 127.0.0.1:80). This is typically a localhost connection to infrastructure managed by the site administrator. No external third-party service is contacted for this functionality.

Data Handling & Logging

When debug mode is enabled by the administrator, the plugin logs technical data (URL paths, timestamps, socket connection status, purge results) to files in wp-content/uploads/mscache-logs/. Log files are protected with .htaccess rules, obfuscated filenames, and an index.php guard. No personally identifiable information (PII) or visitor data is collected, stored, or transmitted. Purge statistics (success/failure counts, recent activity) are stored in the WordPress options table and are visible only to administrators.

Configuration

General Settings

  • Enable Plugin — master switch for all purge functionality.
  • Varnish IP — the IP address of your Varnish server (default: 127.0.0.1).
  • Varnish Port — the port Varnish listens on (default: 80).
  • Custom Host Header — override the Host header sent with purge requests. Leave empty to use your WordPress site URL.
  • Socket Timeout — connection timeout in seconds (default: 5).

Automatic Purge

Choose which content changes trigger automatic cache purge:

  • Posts, Pages, Custom Post Types
  • Página inicial
  • Category, tag, author, and date archives

Full Cache Purge

Three methods are available:

  • PURGE /.* — sends a PURGE request with a wildcard path. Requires Varnish VCL to handle regex/wildcard PURGE.
  • PURGE custom path — sends PURGE to a specific path (e.g., /purge-all). Useful when your VCL maps a special path to a full ban.
  • BAN with custom header — sends a BAN request with a configurable header name and value. The most flexible option but requires matching VCL configuration.

Important: The actual behavior of a full purge depends entirely on your Varnish VCL configuration. The plugin only sends the request — it is your VCL that decides what gets purged.

Additional URLs

Enter one URL per line (absolute or relative paths). These URLs can be purged:

  • Automatically alongside post/page saves (if the option is enabled)
  • Manually via the “Purge Additional URLs” button

Exclusions

Define patterns (one per line) for URLs that should be excluded from caching. Two matching modes:

  • Glob (default) — supports * (any characters) and ? (single character). Example: /wp-admin/*, /cart*, *.xml
  • Regex (advanced) — full regular expression support. Use with caution.

When a frontend request matches an exclusion pattern, the plugin sends the HTTP header ms-cache: excluded. Your Varnish VCL can check for this header and bypass caching accordingly.

Lines starting with # are treated as comments and ignored.

Matching is performed on the request path only, ignoring the query string.

Renúncia

This plugin is provided “as is” under the terms of the GNU General Public License v2 or later. MANAGED SERVER S.R.L. does not warrant that the plugin will function correctly on hosting environments, servers, or Varnish configurations not directly managed by the company. The plugin has been tested and validated exclusively on the Managed Server hosting infrastructure. Use on third-party environments is at the user’s sole risk and responsibility. In no event shall MANAGED SERVER S.R.L. be liable for any direct, indirect, incidental, or consequential damages arising from the use of this plugin outside of the Managed Server infrastructure.

Instalação

  1. Upload the mscache-varnish-purge folder to /wp-content/plugins/.
  2. Activate the plugin through the WordPress admin panel.
  3. Go to Settings → MSCache Varnish Purge to configure. On a Multisite network, shared connection settings are at Network Admin → Settings → MSCache Network.
  4. Set the Varnish IP address (default: 127.0.0.1) and port (default: 80).
  5. Enable the plugin and configure automatic purge options.
  6. Make sure your Varnish VCL is configured to handle PURGE requests (see FAQ).

Log de Changes

1.0.0

  • Lançamento inicial.
  • Asynchronous raw socket PURGE via fsockopen (fire-and-forget).
  • Automatic purge on post, page, and custom post type save, trash, delete, and status transitions.
  • Automatic purge on comment approval, edit, and deletion.
  • Automatic purge on taxonomy term edit and deletion.
  • Automatic purge on nav menu, widget, and Customizer changes.
  • Automatic purge on scheduled post publication (WP-Cron).
  • Automatic purge on plugin, theme, and WordPress core updates.
  • Automatic purge on theme switch and permalink structure change.
  • Automatic purge on featured image change and media attachment updates.
  • Automatic purge on frontend-affecting option changes (site title, blog page, etc.).
  • REST API content update support (Gutenberg editor compatibility).
  • Full cache purge with three configurable methods (wildcard, custom path, BAN).
  • Additional URL list with manual and automatic purge.
  • Exclusion patterns with glob and regex support, pattern tester, and ms-cache: excluded header.
  • WooCommerce integration: stock, scheduled sales, reviews, coupons, attributes, orders, auto-exclusion.
  • AMP page purge support (endpoint /amp/ and query parameter ?amp formats).
  • Cloudflare CDN synchronization (per-URL, purge-everything, hybrid mode).
  • Integrations with WP Rocket, FlyingPress, W3 Total Cache, Autoptimize, and Object Cache.
  • WordPress Multisite support with network-level and per-site settings.
  • WP-CLI commands: purge, purge-network, status, test.
  • REST API endpoints for external purge triggers.
  • Role-based purge permissions.
  • Admin bar with server icon, status indicator, purge buttons, and Purge Page + Archives.
  • Dashboard widget in WP Admin with status, purge count, and quick purge button.
  • Post editor metabox with per-page purge button.
  • Bulk and row actions for purging selected posts/pages.
  • Full cache purge warning modal with confirmation.
  • Frontend toast notification after admin bar purge.
  • Dashboard with purge statistics (7-day history), recent activity log with search, pagination, and user tracking.
  • Connection test with Varnish diagnostic (version detection, response parsing).
  • Import/Export settings as JSON.
  • Debug logging to protected files with daily rotation and admin log viewer.
  • Tabbed settings interface with Dashicons, tooltips, and responsive design.
  • Security: CRLF injection prevention, ReDoS protection, SSRF blocking, log injection sanitization.
  • Translations: English, Italian, French, German, Spanish.
  • PHP 7.0+ and PHP 8.x compatible.
  • GPLv2 or later license.

Registro de change completo em WordPress.org →

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best MSCache Varnish Purge alternatives

Todos os plugins de cache →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 WP Super Cache WP Super Cache Um mecanismo de cache muito rápido para WordPress que produz arquivos HTML estáticos. por Automattic 1M+ ★★★★★★★★★★ 4.3 (1.3K) 1 mês atrás 91
2 Cache mais rápido do WP – Plugin de cache WordPress Cache mais rápido do WP – Plugin de cache WordPress O sistema de cache WP mais simples e rápido Por Emre Vona 1M+ ★★★★★★★★★★ 4.9 (4.2K) 4 semanas atrás 90
3 WP-Optimize – Cache, compacte imagens, Minify & Clean Database para aumentar a velocidade e o desempenho da página Wp-otimizar Obtenha cache e muito mais com este poderoso plugin de cache. Cache, otimize imagens, limpe seu… Por David Anderson / Team Updraft 1M+ ★★★★★★★★★★ 4.8 (2.6K) 1 dia atrás 93
4 SpeedyCache – cache, otimização, desempenho SpeedyCache – cache, otimização, desempenho SpeedyCache é um plug-in de cache WordPress que ajuda você a melhorar o desempenho do seu… por sofáculo 500K+ ★★★★★★★★★★ 4.4 (30) 1 semana atrás 90
5 Cache Breeze Cache Breeze O Breeze é um plugin de cache desenvolvido pela Cloudways. A Breeze usa sistemas avançados de cache para… por Cloudways 300K+ ★★★★★★★★★★ 3.6 (134) 1 dia atrás 83
6 OMGF | Compatível com GDPR/DSGVO, mais rápido Google Fontes. Fácil. OMGF | Compatível com GDPR/DSGVO, mais rápido Google Fontes. Fácil. O plugin original de hospedagem de fontes Google original. Cache automaticamente suas fontes localmente - não… Por Daan van den Bergh 300K+ ★★★★★★★★★★ 4.7 (213) 1 semana atrás 96
7 Jetpack Boost – Velocidade do site, desempenho e CSS críticos Jetpack Boost – Velocidade do site, desempenho e CSS críticos Acelere seu site WordPress com otimizações de um clique, como cache de página, CSS crítico… por Automattic 200K+ ★★★★★★★★★★ 4.7 (614) 2 semanas atrás 85
8 Aruba Hispeed Cache Aruba Hispeed Cache Aruba Hispeed Cache Interfaces diretamente com o Hispeed Cache de uma plataforma de hospedagem Aruba… por aruba.it dev 100K+ ★★★★★★★★★★ 3 (10) 1 mês atrás 79
9 Ativador de cache Ativador de cache Um plugin leve de cache para WordPress que torna seu site mais rápido, gerando… por keycdn 100K+ ★★★★★★★★★★ 4.3 (139) 2 meses atrás 74
10 Nitropack – Plugin de desempenho, velocidade de página e cache para os principais pontos da web, CDN e otimização de imagem Nitropack Aumente a velocidade e o desempenho do site com um plugin completo de cache e otimização de velocidade… Por Nitropack 80K+ ★★★★★★★★★★ 4.3 (311) 2 dias atrás 78

FAQ

MSCache Varnish Purge: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is MSCache Varnish Purge free?

Yes. MSCache Varnish Purge is free to download and use from the official WordPress.org plugin directory.

Is MSCache Varnish Purge safe to use in 2026?

MSCache Varnish Purge works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 6 months ago, and scores 52/100 on our health check.

How many websites use MSCache Varnish Purge?

MSCache Varnish Purge is active on 20+ WordPress websites and has been downloaded 449 times since it launched in June 2026. It was downloaded 79 times in the last 30 days.

Does MSCache Varnish Purge work with WordPress 7.1?

MSCache Varnish Purge is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does MSCache Varnish Purge need?

MSCache Varnish Purge requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was MSCache Varnish Purge last updated?

The latest version, 1.0.0, was released on June 15, 2026 (6 months ago).

Who makes MSCache Varnish Purge?

MSCache Varnish Purge is developed and maintained by Managedserver.it.

What are the best alternatives to MSCache Varnish Purge?

The most popular alternatives to MSCache Varnish Purge are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir