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

Fund package maintenance!

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 45

Watchers: 5

Forks: 16

Open Issues: 2


v23.08.02 2023-11-13 01:13 UTC


Docket Cache

Docket Cache

WP compatibility PHP compatibility

Supercharge your website using a persistent object cache, accelerates caching with OPcache backend.


The Docket cache is a persistent WordPress Object Cache that is stored as a plain PHP code. Intends to provide an alternative option for those who can't use Redis or Memcached server.

Rather than using serialize and unserialize a PHP object to store into flat files, this plugin stores data by converting the object into plain PHP code which results in faster data retrieval and better performance with Zend OPcache enabled.

Kindly refer to for full-length description.


To adjust the plugin behaviour, installation or manage through a command line, please refer to the for details.


To use Docket Cache require minimum PHP 7.2.5, WordPress 5.4 and Zend OPcache for best performance.

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

Please wait around 5 seconds for Docket Cache ready to cache the objects.

Or download directly from WordPress Plugin Directory.

Sponsor this project

Fund Docket Cache one-off or recurring payment to support our open-source development efforts.

Become our sponsor, all funds will be dedicated to the maintenance, development, and marketing of this project.

Noteworthy Sponsors

A heartful thanks and appreciation.

68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f6a696d6174686f7374696e672e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f31322f7468656d65636c6f75642e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30342f7765627361766572732d6c6f676f2e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032332f30312f6176756e752d6c6f676f302e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032322f30342f6c696e7172752d6c6f676f2e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032332f30362f67656e746c656d616e7367757275302e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f736563757265706179302e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f646e737661756c742e6a7067 68747470733a2f2f646f636b657463616368652e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032312f30332f65786e616e6f322d312e6a7067

Other sponsors are mentioned in the honourable list.

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.


Anyone can contribute to Docket Cache. Please do so by posting issues when you've found something that is unexpected or sending a pull request for improvements.


  • Thanks to GitHub for hosting the code and a provides a good infrastructure.
  • Thanks to Symfony Components for release and maintaining reusable code.
  • Thanks to for beautiful designs, powerful features, and the freedom to build anything we want.
  • Thank you to all who have contributed to this plugin.


Docket cache is an Open Source Software under the MIT license.