QuantumCache

Speeds up WordPress by caching database queries and fragments for anonymous visitors using Redis or MySQL, without storing cache data in wp_options.

Author:adelong01 (profile at wordpress.org)
WordPress version required:6.0
WordPress version tested:6.9.1
Plugin version:0.1.6
Added to WordPress repository:25-01-2026
Last updated:02-03-2026
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:187
plugin download
Click to start download

QuantumCache speeds up WordPress by caching database query results (not full pages). It integrates with WordPress query execution to cache post ID lists and content fragments that WordPress uses to build pages, reducing database load while preserving correct invalidation.

It is not an output buffer or page cache, and it does not replace existing page caching solutions.

Features

  • Caches the results of the main front-end WP_Query for anonymous requests.
  • Tag-based invalidation: purge by post ID, post type, or taxonomy.
  • Fragment caching for the_content (classic) and core blocks such as core/post-content, core/latest-posts, core/archives, and core/navigation.
  • Multiple storage modes:
    • Auto – use Redis if available, otherwise fall back to MySQL.
    • Redis – fastest mode; uses the PHP Redis extension.
    • MySQL – portable fallback using compact tables (qc_entries, qc_tagmap).
  • Compatible with the Redis Object Cache drop-in.
  • Avoids wp_options and postmeta storage – all cache data is stored in Redis or
    QuantumCache-owned database tables.
  • Multisite-aware: per-site prefixes and per-site tables.

Performance summary

In benchmarks on a plugin-heavy WordPress site (WooCommerce + Yoast SEO),
QuantumCache reduced per-request database queries by ~99% on cached pages
and achieved cache hit rates exceeding 97% with Redis.

Under production-like load with a networked database, Redis mode delivered
13–18% lower TTFB at both median and 95th percentile versus uncached
baseline. MySQL fallback mode delivered 4–8% improvement under the same
conditions.

Actual results depend on theme, plugins, database topology, and traffic
patterns.

Debug headers (optional)

Enable Settings QuantumCache Send X-QC debug headers to view cache status in HTTP responses:
* X-QC-Main: HIT | MISS | STORE
* X-QC-Store: AUTO | redis | mysql
* X-QC-Hydrated: number of posts loaded from cache

Append ?qc_nocache=1 to any URL to bypass caching for that request.

Debug headers are sent only when explicitly enabled in settings and contain no
personal or user-specific data.

Privacy

QuantumCache does not collect, send, or log personal data.
It stores cache entries in Redis or its own MySQL tables.
Other plugins on your site may handle cookies or data independently.
No remote requests are made, and no data is transmitted to external servers.


FAQ
ChangeLog