VaryCache
Advanced caching with A/B testing, geo-targeting, and speed optimizations. Serve different cached versions of pages.
Consider an alternative
VaryCache shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 11 months ago, and scores 36/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
- Only tested up to WordPress 6.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where VaryCache stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| a b testing | >100 |
| cache | >100 |
| geo-targeting | >100 |
| performance | >100 |
| personalization | >100 |
About VaryCache
From the official readme Β· v1.2.3Description
VaryCache is a powerful WordPress caching plugin that combines page caching with content personalization. Serve different cached versions of your pages based on A/B tests, visitor location, or URL parameters β all while maintaining excellent performance.
Core Caching
- Page Cache – File-based caching for fast page delivery without database overhead
- REST API Cache – Cache REST API responses to reduce server load
- Cache Preload – Automatic cache warming from sitemap
- Browser Cache Headers – Cache-Control, Expires, Last-Modified, Vary headers
Content Personalization
- A/B Testing – Create multiple tests with weighted variants (50/50, 70/30, etc.)
- Geo Targeting – Show different content based on visitor’s country
- Query Parameters – Cache variations based on UTM tags and other URL parameters
Speed Optimizations
- HTML Minification – Remove whitespace to reduce page size
- DNS Prefetch – Pre-resolve external domains for faster loading
- Preload Resources – Preload fonts, CSS, and hero images for better LCP
- Link Prefetch – Preload pages on hover for instant navigation
- Disable Emoji – Remove WordPress emoji scripts (~15KB savings)
- Remove Query Strings – Better CDN caching for static resources
- Image Dimensions – Auto-add missing width/height to prevent CLS
- Gzip Compression – Compress HTML output to reduce page size by ~70%
Developer Features
- Shortcodes – Easy content switching in posts and pages
- PHP Functions – Helper functions for theme developers
- Debug Panel – Visual debugging panel on frontend
- CDN Compatible – Works with CloudFront, Cloudflare, and other CDNs
- Translation Ready – Includes Russian translation
Shortcodes
[varycache_ab v="A"]Content for variant A[/varycache_ab]
[varycache_ab v="B"]Content for variant B[/varycache_ab]
[varycache_ab test="pricing" v="X"]Content for specific test[/varycache_ab]
[varycache_geo country="US"]Content for US visitors[/varycache_geo]
PHP Functions
// A/B Testing
if ( varycache_is_variant( 'A' ) ) {
// Show variant A content
}
$variant = varycache_get_variant(); // Returns 'A', 'B', etc.
// Geo Targeting
if ( varycache_is_geo( 'US' ) ) {
// Show US-specific content
}
$country = varycache_get_geo(); // Returns 'US', 'RU', etc.
Page Patterns
Flexible page matching with wildcards and regex:
/– Homepage only/pricing– Exact page match/blog/*– Single level wildcard/shop/**– Any depth wildcard~^/post/\d+$– Regular expression (prefix with ~)
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Write access to wp-content directory
Installation
- Upload the
varycachefolder to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Settings > VaryCache to configure
Quick Start
- Enable caching in the plugin settings
- Configure Page Cache to cache all pages or specific URLs
- Optionally set up A/B tests, geo targeting, or query parameters
- Use shortcodes in your content to show different versions to different visitors
Using with Other Cache Plugins
If using another caching plugin, exclude pages with variant caching from that plugin’s cache. VaryCache will handle caching for those pages with variant support.
Changelog
New Gzip Compression feature reduces page size by ~70%. Enable in Speed tab for immediate performance boost.
1.2.3
- NEW: Gzip Compression – compress HTML output by ~70% for faster loading
- Core Web Vitals improvement: reduced page size for better performance
1.2.0
- NEW: Speed optimization tab with Core Web Vitals features
- NEW: HTML Minification – reduce page size by removing whitespace
- NEW: DNS Prefetch – pre-resolve external domains for faster loading
- NEW: Preload critical resources (fonts, CSS, images) for better LCP
- NEW: Remove query strings from static resources for better CDN caching
- NEW: Disable WordPress emoji scripts to save ~15KB
- NEW: Auto-add missing image dimensions to prevent CLS
- IMPROVED: Reorganized admin UI with logical grouping
- IMPROVED: Moved Link Prefetch and Browser Cache to Speed tab
- IMPROVED: Better separation of concerns in code
- Core Web Vitals optimizations: LCP, CLS improvements
1.1.0
- NEW: REST API caching – cache REST endpoints to reduce server load
- NEW: Cache Preload – automatic and manual cache warming from sitemap
- NEW: Browser Cache Headers – Cache-Control, Expires, Last-Modified, Vary
- NEW: Page Cache admin tab with all caching settings
- NEW: Test REST endpoints for debugging (/varycache/v1/test)
- IMPROVED: Admin interface with better organization
- IMPROVED: WordPress.org compliance updates
- IMPROVED: Changed prefix from ‘vc’ to ‘varycache’ per WordPress.org guidelines
- IMPROVED: Moved settings file to uploads directory per WordPress.org guidelines
- IMPROVED: Scripts now properly enqueued using wp_enqueue_script
- FIX: Various security improvements and code cleanup
1.0.0
- Initial release
- A/B testing with weighted variants
- Geo targeting via CloudFront/Cloudflare headers
- Query parameter caching
- Page pattern matching (wildcards, regex)
- Admin settings panel with tabs
- Cache management and reporting
- Debug panel
- Shortcodes and PHP helper functions
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own β no account needed.
Best VaryCache alternatives
All a b testing plugins βFAQ
VaryCache: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is VaryCache free?
Yes. VaryCache is free to download and use from the official WordPress.org plugin directory.
Is VaryCache safe to use in 2026?
VaryCache shows warning signs in 2026 β compare the alternatives below before installing. Was last updated 11 months ago, and scores 36/100 on our health check.
How many websites use VaryCache?
VaryCache is active on <10 WordPress websites and has been downloaded 587 times since it launched in January 2026. It was downloaded 68 times in the last 30 days.
Does VaryCache work with WordPress 7.1?
VaryCache is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does VaryCache need?
VaryCache requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was VaryCache last updated?
The latest version, 1.2.3, was released on January 10, 2026 (11 months ago).
Who makes VaryCache?
VaryCache is developed and maintained by gkap186.
What are the best alternatives to VaryCache?
The most popular alternatives to VaryCache are Unbounce Landing Pages (10K+ installs), If-So Dynamic Content (7K+ installs) and Nelio A/B Testing (4K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

