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.
Safe pick
Yes — Docket Cache is a safe, well-maintained plugin to use in 2026. It runs on 20K+ sites, is rated 4.9/5 and was last updated 1 month ago, and scores 90/100 on our health check.
- Proven at scale on 20K+ active sites
- Loved by users — 4.9/5 from 50 reviews
- Tested with the latest WordPress (7.1)
- Responsive support — 100% of recent threads resolved
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 Docket Cache stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cache | #9 |
| database | #42 |
| object cache | #4 |
| OPcache | #4 |
| performance | #77 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 4.9 from 50 reviews
About Docket Cache – Object Cache Accelerator
From the official readme · v26.04.12Description
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
We also recommend:
- Zend OPcache
Docket Cache saves the cache as PHP files, so it works with or without OPcache. With OPcache, PHP keeps those files ready in memory and does not have to read them from disk on every page load, which makes the cache much faster.
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.
- Jimat Hosting
- Themecloud
- Websavers Inc
- Avunu LLC
- Linqru
- Gentleman’s Guru
- SecurePay
- DNSVault
- Exnano Creative
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.
- In your WordPress admin, go to Plugins -> Add New.
- Search for “Docket Cache” and click Install Now.
- Click Activate or Network Activate for Multisite setups.
- Click Docket Cache in the left menu to access the settings page.
Please allow a few seconds for Docket Cache to begin caching objects.
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.12
- Added: DOCKET_CACHE_SKIP_UNCHANGED constant and “Skip Unchanged Cache Writes” option to turn it off.
- Fixed: Command::dropino_update() -> Wrong command in the WP-CLI help example.
- Fixed: View::parse_log_query() -> Cache View showed “Data Not available” for every cache file.
- Fixed: Cache Log -> Clicking a row selected a row further down in long logs, and nothing near the end.
- Fixed: Plugin::register_tweaks() -> WordPress Translation Caching looped until a fatal error with WPML String Translation.
- Fixed: Plugin::register_tweaks() -> WordPress Translation Caching gave text domains that were not loaded the translations of another domain.
- Fixed: Filesystem::opcache_compile() -> Cache files rewritten within the same second stayed stale when the host blocks opcache_invalidate() or the write came from WP-CLI.
- Improved: WP_Object_Cache::dc_save() -> Skip writing unchanged values to reduce OPcache wasted memory.
26.04.11
- Fixed: Becache::export_transient() -> Transients were returned as serialized strings instead of their original value.
- Fixed: Becache::export_transient() -> Transient value could be replaced by its timeout, and expired transients were cached.
- Fixed: Becache::store_cache() -> Exported transients now keep their own expiry instead of always using the maximum TTL.
- Fixed: WP_Object_Cache::dc_update() -> Reset the stored type when incr/decr writes a new value.
- Improved: Becache -> Store array and stdClass transients as native PHP, other classes are unserialized on read.
- Improved: WP_Object_Cache -> Bump on-disk cache format version to evict transient cache files written by 26.04.10.
26.04.10
- Fixed: WP_Object_Cache::dc_get()/dc_save() -> Return cached strings exactly as stored to prevent PHP object injection from serialized-looking values.
- Fixed: WP_Object_Cache::dc_get() -> Verify the stored key and group before serving a cached value.
- Fixed: CliOpcache -> Store the WP-CLI OPcache shared secret in a PHP file instead of a web-readable lock file.
- Fixed: Plugin::flush_fcache() -> Validate the cache file index to prevent path traversal.
- Fixed: ReqAction -> Move the Suspend Object Cache state change behind the nonce-verified action.
- Fixed: View::code_focus() -> Build the admin notice via a text node and restrict the option key to prevent DOM-based XSS.
- Fixed: WpConfig::write_runtime() -> Only write expected on/off/integer values into runtime.php.
- Fixed: Crawler -> Only attach cookies to loopback requests, never to the remote Cronbot endpoint.
- Fixed: CronAgent::close_ping() -> Exclude captured cron hook output from the ping response.
- Fixed: EventList -> Escape cron event arguments and callback names in the Cronbot table.
- Fixed: Tweaks -> Cache HTTP responses only for GET requests without Authorization or Cookie, and never cache a response that sets cookies.
- Fixed: MenuCache -> Skip the shared menu cache for logged-in users.
- Improved: WP_Object_Cache -> On-disk cache format version migrates pre-update cache files on read, without a manual flush.
26.04.09
- Added: Cronbot -> Sponsor notice when the service is connected.
- Fixed: nwdcx_cleanuptransient() -> Use prepared statements when removing transients from the database.
- Fixed: Crawler -> Verify SSL certificate on requests to remote endpoints.
- Fixed: ReqAction -> Escape Cronbot error message in admin notice.
- Removed: Critical Version Checking -> No longer needed.
26.04.08
- Fixed: WP_Object_Cache::dc_log() -> Redact query string values in the logged request URI.
- Fixed: Constans -> Default Cache Log file name is no longer predictable.
- Fixed: Filesystem::log_remove_legacy() -> Remove Cache Log files left under the old name.
- Fixed: CronAgent::close_ping() -> Fatal error on rejected ping request.
- Fixed: CronAgent::close_ping() -> Exclude Cookie and Authorization headers from stored ping data.
26.04.07
- Fixed: Polyfill PhpToken stub -> Extend scoped Nawawi\Symfony\Polyfill\Php80\PhpToken.
- Improved: Updated Symfony vendor libraries for PHP 8.4 compatibility.
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 Docket Cache alternatives
All cache plugins →FAQ
Docket Cache: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
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?
Yes — Docket Cache is a safe, well-maintained plugin to use in 2026. It runs on 20K+ sites, is rated 4.9/5 and was last updated 1 month ago, and scores 90/100 on our health check.
How many websites use Docket Cache?
Docket Cache is active on 20K+ WordPress websites and has been downloaded 466,142 times since it launched in July 2020. It was downloaded 9,217 times in the last 30 days.
Does Docket Cache work with WordPress 7.1?
Yes. The developer has tested Docket Cache up to WordPress 7.1.5, the latest release. It requires WordPress 5.4 or newer.
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.12, was released on October 31, 2026 (1 month 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
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








