BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Docket Cache – Object Cache Accelerator icon
Actively maintained Tested up to 7.0.6 #20 in cache

Docket Cache – Object Cache Accelerator

Speed up your WordPress site with a persistent object cache, powered by OPcache. An efficient alternative to Redis and Memcached.

Active installs20K+10K+ tier
Downloads · 30d16.9K▼ -10.4% vs prev. 30d
Rating4.9/550 reviews
Health score74/100Good
All-time downloads394.8KSince Jul 2020
Support resolved0 / 10% in last 2 months
RequiresWP 5.4PHP 7.2.5+
Downloads · 7d11.9K▲ 12.6× week over week
Our verdict

Solid choice

Docket Cache is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20K+ sites, is rated 4.9/5 and was last updated 4 days ago, and scores 74/100 on our health check.

  • Proven at scale on 20K+ active sites
  • Loved by users — 4.9/5 from 50 reviews
  • Actively developed — last update 4 days ago

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

2.1K4.2K6.3KJun 28Aug 11Sep 25
Yesterday637
Daily average (1y)373
Peak day8,412Feb 8, 2026
Last 12 months135.6K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Docket Cache stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cache #11 8,489 Best cache plugins →
database #91 10,000 Best database plugins →
object cache #5 1,830 Best object cache plugins →
OPcache #4 133 Best OPcache plugins →
performance >100 10,000 Best performance plugins →

Version adoption

Share of active sites per release.

  • 26.0472.3%
  • 24.0725.9%
  • Other1.8%

Rating breakdown

★★★★★★★★★★ 4.9 from 50 reviews

  • 5★98.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★2.0%

About Docket Cache – Object Cache Accelerator

From the official readme · v26.04.06

Description

Docket Cache is a persistent WordPress Object Cache that stores cached data as plain PHP code. It is designed as an alternative for sites that do not have access to Redis or Memcached.

Most file-based caching plugins use serializing and unserializing to save PHP objects to flat files. Docket Cache takes a different approach by converting objects into plain PHP code. This makes data retrieval faster and improves overall performance, especially when Zend OPcache is enabled.

For more information, please refer to the documentation on Caching In WordPress.

Why use this plugin?

For reliable persistent Object Cache in WordPress, Redis or Memcached are the top choices. However, they require server knowledge and are rarely available on low-cost or shared hosting plans.

The alternative is to store object caches in files. In WordPress, exporting PHP objects is not straightforward. Most file-based caching plugins rely on serialising and unserialising objects to store and retrieve data.

Docket Cache takes a better approach by turning the object cache into plain PHP code. This is faster because WordPress can use the cache directly without additional processing.

Features

  • Object caching + OPcache
  • Advanced Post Caching
  • Object Cache Precaching
  • WordPress Menu Caching
  • WordPress Translation Caching
  • WordPress Core Query Optimisation
  • Term Count Queries Optimisation
  • Post, Page, Comment Count Optimisation
  • Database Tables Optimisation
  • WooCommerce Optimisation
  • WP Options Autoload suspension
  • Post Missed Schedule Tweaks
  • Object Cache + OPcache Stats + OPcache Viewer
  • Cache Log
  • Cronbot Service
  • WP-CLI support
  • Multisite / Multi-Network support

Requirements

To use Docket Cache requires minimum:

  • PHP 7.2.5
  • WordPress 5.4
  • Zend OPcache

Documentation

For configuration options, installation guides, and command-line usage, please refer to the Documentation.

Development

  • GitHub Repository — Source code and development hub for Docket Cache.
  • Changelog — Full history of changes, fixes, and improvements.
  • Gapo Tunnel — Expose local services to the internet through secure tunnels. Useful for testing Docket Cache on a local development environment.
  • WP Staging Desktop — Turn a live WordPress site into a local development environment in minutes.

Sponsor This Project

Support the ongoing development of Docket Cache with a one-off or recurring contribution.

Noteworthy Sponsors:

A heartfelt thanks and appreciation.

Other sponsors are mentioned in the honourable list

Installation

Docket Cache requires PHP 7.2.5 or higher, WordPress 5.4 or higher, and Zend OPcache for best performance.

  1. In your WordPress admin, go to Plugins -> Add New.
  2. Search for “Docket Cache” and click Install Now.
  3. Click Activate or Network Activate for Multisite setups.
  4. Click Docket Cache in the left menu to access the settings page.

Please allow a few seconds for Docket Cache to begin caching objects.

Frequently asked questions

What is Object Caching in WordPress?

Object caching stores database query results so they can be retrieved quickly the next time they are needed. Cached data is served directly from the cache rather than making repeated database queries. This reduces the load on your server and makes your site faster. In simple terms, object caching keeps frequently used data in a location where it can be accessed more quickly.

What is Docket Cache in Object Caching?

By default, the WordPress object cache is non-persistent. This means cached data is stored in memory only for the duration of a single page request. It is not kept between page loads. To make it persistent, the object cache must be stored on disk. Docket Cache does more than just store the object cache — it converts cached data into plain PHP code. This is faster because WordPress can use the cache directly without additional processing.

What is OPcache in Docket Cache?

OPcache is a caching engine built into PHP. It improves performance by storing precompiled script bytecode in shared memory, so PHP does not need to load and parse scripts on each request. Docket Cache converts the object cache into plain PHP code. When reading and writing cache data, it uses OPcache directly, which results in faster data retrieval and better performance.

What is the Cronbot Service in Docket Cache?

Cronbot is an external service that pings your website every hour to keep WordPress Cron running actively. This service is optional and is not required. By default, it is not connected to the end-point server. You can disable it entirely on the configuration page.

What is the Garbage Collector in Docket Cache?

The Garbage Collector is a scheduled event that runs every 5 minutes to monitor cache files, clean up expired entries, and collect statistics.

What is a RAM disk in Docket Cache?

A RAM disk uses your server’s memory (RAM) to act as a storage drive. It can be a hardware device or a virtual disk. Reading and writing data from RAM is much faster than from an SSD. Storing Docket Cache files on a RAM disk can greatly improve performance. Please note that creating a RAM disk requires server administrator access (root), so this option is not available on shared hosting. Here is an example command to create and use a RAM disk with Docket Cache: $ cd wp-content/ $ sudo mount -t tmpfs -o size=500m tmpfs ./cache/docket-cache To mount the cache path automatically when the server…

What is the minimum RAM required for shared hosting?

By default, WordPress sets the memory limit to 256 MB. When combined with MySQL and the web server, you need more than 256 MB. If your hosting plan only provides 256 MB in total, this is not enough, and Docket Cache will not be able to improve your site’s performance.

How is Docket Cache different from other object cache plugins?

Docket Cache is an Object Cache Accelerator. It optimises caching by handling post queries, comment counting, WordPress translations, and more before storing the object cache.

Can I use it alongside other cache plugins?

Yes and no. You can use it together with a page caching plugin, but not with another object cache plugin.

Can I use it with LiteSpeed Cache?

Yes. The LiteSpeed Cache plugin includes its own Object Cache feature. It may display a notice asking you to disable Docket Cache. Simply turn off the LiteSpeed Cache Object Cache to use Docket Cache instead.

Can I use Docket Cache on a busy WooCommerce store?

It is not recommended for high-traffic WooCommerce stores. Docket Cache is designed as a file-based alternative to in-memory caches like Redis and Memcached, and may not handle the demands of a busy store. For WooCommerce sites with heavy traffic, we recommend using Redis instead.

I have a VPS. Can I use Docket Cache instead of Redis?

You can, but if your VPS supports Redis, we recommend using Redis for better performance. Docket Cache is best suited for environments where Redis or Memcached is not available. That said, Docket Cache works well for small to medium sites on a VPS, with no network connection required and no risk of cache-key conflicts.

Changelog

Please do manually remove wp-content/object-cache.php and wp-content/cache/docket-cache if an error occurs during updates. Thanks.

26.04.06

  • Fixed: admin/log.php -> esc_textarea() on Cache Log output to prevent stored XSS.
  • Fixed: Plugin::dc_log() -> Sanitise REQUEST_URI caller before logging.
  • Fixed: Plugin -> Capability check on log/debug.log downloads reachable unauthenticated on ‘init’.

26.04.05

  • Fixed: Removed double echo in log.php.

26.04.04

  • Added: Configuration UI toggle for WP-CLI OPcache Invalidation (mirrors DOCKET_CACHE_WPCLI_OPCACHE constant).
  • Fixed: CliOpcache::notify() -> Buffered per-file notifications at shutdown to prevent HTTP request floods during GC and individual cache unlinks.
  • Fixed: CliOpcache -> REST route registered before compat check to eliminate 404 noise when workers bail early under load.
  • Fixed: CronAgent::receive_ping() -> Type-safety guard on ping inputs to prevent PHP 8 TypeError from array-form values.
  • Fixed: CronAgent::receive_ping() -> Explicit return after close_ping() when CRONBOT is disabled.
  • Fixed: CronAgent::receive_ping() -> Multisite loop isolates per-site errors via try/catch; wpcron_error reported so cronbot server detects persistent failures.
  • Fixed: CronAgent::run_wpcron() -> Re-entry guard via instance flag and try/finally.
  • Fixed: CronAgent::run_wpcron() -> ob_end_clean() on exception path; stop decrementing $run_event below zero.
  • Fixed: CronAgent::run_wpcron() -> Pre-init $results and $cron_event to prevent PHP 8 undefined-variable warnings.
  • Fixed: CronAgent::run_wpcron() -> REQUEST_URI check uses urldecode() and checks wp_doing_cron() first to avoid URL-encoded bypass.
  • Fixed: CronAgent::send_action() -> Cache key includes action to prevent collision between on/off calls from the same IP.
  • Improved: CronAgent::send_action() -> $stmp cache-buster refreshes every 5 minutes to avoid CDN staleness in long-running processes.
  • Improved: CronAgent::check_connection() -> Skip on AJAX/REST/cron requests to reduce shutdown-hook overhead on high-traffic endpoints.

26.04.03

  • Added: CliOpcache — Invalidate web-server OPcache from WP-CLI via REST endpoint.
  • Added: DOCKET_CACHE_WPCLI_OPCACHE constant to enable/disable CLI OPcache invalidation.
  • Added: DOCKET_CACHE_CONFIGACTION constant to enable/disable Export/Import settings feature.
  • Added: Export/Import settings feature for configuration backup and restore.
  • Fixed: CliOpcache -> Path traversal protection using realpath() validation.
  • Fixed: CliOpcache -> Bulk flush suppression to avoid excessive HTTP requests during full cache flush.
  • Fixed: CliOpcache -> Shared secret initialised during REST route registration.
  • Fixed: ReqAction -> Flush Object Cache causing 502 nginx error by deferring flush after response.
  • Fixed: Plugin::get_opcache_status() -> Filter scripts by ABSPATH to prevent counting other sites on shared hosting.
  • Fixed: Plugin::get_opcache_status() -> Removed unnecessary is_file() stale check on every cached script.
  • Fixed: OPcache Viewer -> Escaped output of configuration values to prevent XSS.
  • Improved: Filesystem::unlink() -> Notify web-server OPcache on individual cache file deletion.
  • Improved: Filesystem::cachedir_flush() -> Utilise Crawler class for internal HTTP requests.
  • Improved: Plugin::get_opcache_status() -> Skip building scripts array for overview page, cap at 50000 for OPcacheView.
  • Improved: Plugin::get_opcache_status() -> Timeout guard for file cache scan on shared hosting.
  • Improved: OPcacheView -> Removed “All Items” option, replaced with 50000 items cap.
  • Improved: OPcacheView::get_status() -> Cache result to prevent double scan per page load.

24.07.07

  • Fixed: _load_textdomain_just_in_time was called incorrectly on WordPress 6.7+.

v24.07.06

  • Fixed: MoCache double-applying load_textdomain_mofile filter.

Full changelog on WordPress.org →

Screenshots

Overview.
Overview.
Cache Log.
Cache Log.
Cache view.
Cache view.
Cache content.
Cache content.
Cronbot.
Cronbot.
Configuration.
Configuration.
Multisite / Multi-Network Overview.
Multisite / Multi-Network Overview.
Multisite / Multi-Network Cronbot.
Multisite / Multi-Network Cronbot.

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.

Active installs badge Rating badge Health score badge

Best Docket Cache alternatives

All cache plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Super Cache WP Super Cache A very fast caching engine for WordPress that produces static html files. by Automattic 1M+ ★★★★★★★★★★ 4.3 (1.3K) 1 month ago 95
2 WP Fastest Cache – WordPress Cache Plugin WP Fastest Cache – WordPress Cache Plugin The simplest and fastest WP Cache system by Emre Vona 1M+ ★★★★★★★★★★ 4.9 (4.2K) 2 weeks ago 88
3 WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance WP-Optimize Get caching and more with this powerful cache plugin. Cache, optimize images, clean your… by David Anderson / Team Updraft 1M+ ★★★★★★★★★★ 4.8 (2.6K) 5 days ago 97
4 SpeedyCache – Cache, Optimization, Performance SpeedyCache – Cache, Optimization, Performance SpeedyCache is a WordPress cache plugin that helps you improve performance of your… by Softaculous 600K+ ★★★★★★★★★★ 4.4 (30) 3 days ago 90
5 Breeze Cache Breeze Cache Breeze is a caching plugin developed by Cloudways. Breeze uses advance caching systems to… by Cloudways 300K+ ★★★★★★★★★★ 3.6 (126) 2 days ago 84
6 OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy. The original Google Fonts self-hosting plugin. Automagically caches your fonts locally — no… by Daan van den Bergh 300K+ ★★★★★★★★★★ 4.7 (212) 4 days ago 76
7 Jetpack Boost – Website Speed, Performance and Critical CSS Jetpack Boost – Website Speed, Performance and Critical CSS Speed up your WordPress site with one-click optimizations like Page Cache, Critical CSS… by Automattic 200K+ ★★★★★★★★★★ 4.7 (607) 1 week ago 91
8 Aruba HiSpeed Cache Aruba HiSpeed Cache Aruba HiSpeed Cache interfaces directly with an Aruba hosting platform's HiSpeed Cache… by Aruba.it Dev 100K+ ★★★★★★★★★★ 3 (10) 4 days ago 83
9 Cache Enabler Cache Enabler A lightweight caching plugin for WordPress that makes your website faster by generating… by KeyCDN 100K+ ★★★★★★★★★★ 4.3 (139) 7 months ago 61
10 NitroPack – Performance, Page Speed & Cache Plugin for Core Web Vitals, CDN & Image Optimization NitroPack Boost site speed and performance with an all-in-one cache and speed optimization plugin… by NitroPack 90K+ ★★★★★★★★★★ 4.3 (311) 1 day ago 78

FAQ

Docket Cache: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 26, 2026

Is Docket Cache free?

Yes. Docket Cache is free to download and use from the official WordPress.org plugin directory.

Is Docket Cache safe to use in 2026?

Docket Cache is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20K+ sites, is rated 4.9/5 and was last updated 4 days ago, and scores 74/100 on our health check.

How many websites use Docket Cache?

Docket Cache is active on 20K+ WordPress websites and has been downloaded 394,811 times since it launched in July 2020. It was downloaded 16,896 times in the last 30 days.

Does Docket Cache work with WordPress 7.1?

Docket Cache is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does Docket Cache need?

Docket Cache requires PHP 7.2.5 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Docket Cache last updated?

The latest version, 26.04.06, was released on September 22, 2026 (4 days ago).

Who makes Docket Cache?

Docket Cache is developed and maintained by Nawawi Jamili.

What are the best alternatives to Docket Cache?

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

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.