PHPackages                             nawawi/docket-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. nawawi/docket-cache

ActiveWordpress-plugin[Caching](/categories/caching)

nawawi/docket-cache
===================

A persistent object cache stored as a plain PHP code, accelerates caching with OPcache backend.

v26.04.04(2mo ago)6323118[1 issues](https://github.com/nawawi/docket-cache/issues)MITPHPPHP &gt;=7.2.5

Since Nov 3Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/nawawi/docket-cache)[ Packagist](https://packagist.org/packages/nawawi/docket-cache)[ Docs](https://github.com/nawawi/docket-cache)[ GitHub Sponsors](https://github.com/nawawi)[ RSS](/packages/nawawi-docket-cache/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (3)Versions (54)Used By (0)

[![Docket Cache](./.wordpress.org/icon-128x128.png)](./.wordpress.org/icon-128x128.png)

Docket Cache
============

[](#docket-cache)

[![WP compatibility](https://camo.githubusercontent.com/d37cf2b55ec60dc6a06317ee5ef5b82d3448b0254b367dbfdfb52ad95e1b41c9/68747470733a2f2f706c7567696e74657374732e636f6d2f706c7567696e732f77706f72672f646f636b65742d63616368652f77702d62616467652e737667)](https://plugintests.com/plugins/wporg/docket-cache/latest) [![PHP compatibility](https://camo.githubusercontent.com/067486f54f56419c4f9f0b9ec78d5ff19844e25099c9c8730b1bb34b3e04ece6/68747470733a2f2f706c7567696e74657374732e636f6d2f706c7567696e732f77706f72672f646f636b65742d63616368652f7068702d62616467652e737667)](https://plugintests.com/plugins/wporg/docket-cache/latest)

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

Description
-----------

[](#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 [serialize](https://www.php.net/manual/en/function.serialize.php) and [unserialize](https://www.php.net/manual/en/function.unserialize.php) 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 a full description, please visit .

Documentation
-------------

[](#documentation)

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

Installation
------------

[](#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 -&gt; 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.

You may also download it directly from the [WordPress Plugin Directory](https://wordpress.org/plugins/docket-cache).

Sponsor This Project
--------------------

[](#sponsor-this-project)

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

[Become a sponsor](https://docketcache.com/sponsorship/) — all funds go towards the maintenance, development, and promotion of this project.

**Noteworthy Sponsors**

A heartfelt thanks and appreciation.

[![](https://camo.githubusercontent.com/ce452ccfbfc2dd689ac89c96ed98b1248ad9d432b0f2fbfcc4c892d888b90f55/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f6a696d6174686f7374696e672e6a7067)](https://jimathosting.com/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/46219eacb9ed19d6aa07ba8a775e59e4cea1cd176c5f0b47cb22b2b588befce2/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f31322f7468656d65636c6f75642e6a7067)](https://www.themecloud.io/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/0564fe261b2abdda1affade0e6544a270857b55fb957416d1c1169318bebd869/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30342f7765627361766572732d6c6f676f2e6a7067)](https://websavers.ca/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/166f39b5384268a13e4bc0431132b89e60e261984e3aa0fa6bce1f7831ec7642/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032332f30312f6176756e752d6c6f676f302e6a7067)](https://avu.nu/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/7c67e6ee5852f70b140bb90076448ccf0d8eeab2d0a45b9a3ea0a414be27841f/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30342f6c696e7172752d6c6f676f2e6a7067)](https://linqru.jp/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/c72fba6b0a15350ae30347195a851ca021a6095dbd5b3cdfe1550f426bf69eb6/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032332f30362f67656e746c656d616e7367757275302e6a7067)](https://www.gentlemansguru.com/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/ffce056870d03fb0252b005f7fc07925d9085f633262af90a28b57691903d8f6/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f736563757265706179302e6a7067)](https://www.securepay.my/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/dbbb49817eb73d15a561e8589d2149b9b518f405e930cec62c5c02f9c85d8fb0/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f646e737661756c742e6a7067)](https://dnsvault.net/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)[![](https://camo.githubusercontent.com/c05ff9ed227c64fe873c2792433534a3273caceb157b93bc125b63993ca3edda/68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f65786e616e6f322d312e6a7067)](https://exnano.io/?utm_source=docketcache&utm_campaign=sponsor-uri&utm_medium=noteworthy)

Other sponsors are mentioned in the [honourable list](https://github.com/nawawi/docket-cache/issues/5).

How Versions Work
-----------------

[](#how-versions-work)

Versions are as follows: Year.Month.Day

- Year: Two digits representation of a year.
- Month: Two digits representation of a month.
- Day: Two digits representation of a day.

Developer Tools
---------------

[](#developer-tools)

[Gapo Tunnel](https://github.com/ghostbirdme/gapo) — Expose local services to the internet through secure tunnels. Share a website, SSH access, or database with a single command — no port forwarding or firewall changes needed. Useful for testing Docket Cache on a local development environment.

Contributing
------------

[](#contributing)

Anyone is welcome to contribute to Docket Cache. You can help by reporting issues or submitting pull requests for improvements.

- [Report an issue](https://github.com/nawawi/docket-cache/issues)
- [Submit a pull request](https://github.com/nawawi/docket-cache/pulls)

Thanks
------

[](#thanks)

- [GitHub](https://github.com) for hosting the code and providing excellent infrastructure.
- [Symfony Components](https://github.com/symfony) for developing and maintaining reusable code.
- [WordPress.org](https://wordpress.org) for beautiful designs, powerful features, and the freedom to build anything.
- Everyone who has contributed to this plugin.

Licence
-------

[](#licence)

Docket Cache is open-source software released under the [MIT licence](https://github.com/nawawi/docket-cache/blob/master/LICENSE.txt).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 97.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~24 days

Total

53

Last Release

76d ago

Major Versions

v20.12.04 → v21.01.012021-02-03

v21.08.11 → v22.07.012022-07-15

v22.07.05 → v23.08.012023-08-19

v23.08.02 → v24.07.012024-07-21

v24.07.07 → v26.04.032026-04-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/89ca80c69e47e6bdd6c4422f6636862355c98019948440833b762e67f9d06b42?d=identicon)[nawawi](/maintainers/nawawi)

---

Top Contributors

[![nawawi](https://avatars.githubusercontent.com/u/1203635?v=4)](https://github.com/nawawi "nawawi (344 commits)")[![superdav42](https://avatars.githubusercontent.com/u/1534605?v=4)](https://github.com/superdav42 "superdav42 (5 commits)")[![zam3858](https://avatars.githubusercontent.com/u/99651?v=4)](https://github.com/zam3858 "zam3858 (3 commits)")

---

Tags

cacheextensionsopcacheopcache-backendwordpresswordpress-pluginwp-object-cachezend-opcachecachewordpress pluginflat fileobject-cache

### Embed Badge

![Health badge](/badges/nawawi-docket-cache/health.svg)

```
[![Health](https://phpackages.com/badges/nawawi-docket-cache/health.svg)](https://phpackages.com/packages/nawawi-docket-cache)
```

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.5k](/packages/symfony-dependency-injection)[psr/simple-cache

Common interfaces for simple caching

8.1k772.9M2.7k](/packages/psr-simple-cache)[psr/cache

Common interface for caching libraries

5.2k726.4M1.7k](/packages/psr-cache)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M978](/packages/statamic-cms)[react/cache

Async, Promise-based cache interface for ReactPHP

445131.2M46](/packages/react-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
