The Docket Cache is a persistent WordPress Object Cache solution designed to store data as plain PHP code. It offers an efficient alternative for users who are unable to utilize Redis or Memcached servers.
Unlike conventional approaches that rely on serializing and unserializing PHP objects to store them into flat files, this plugin transforms objects into plain PHP code. This method significantly enhances data retrieval speed and overall performance, especially when paired with Zend OPcache.
For more information, please refer to the documentation on Caching In WordPress.
When it comes to reliable persistent Object Cache in WordPress, Redis or Memcached comes on top. However, those solutions require knowledge of server and rarely available at low cost or shared hosting servers.
The only viable solution is to store object caches in files. In WordPress, exporting PHP objects is not easy. Most plugins implementing file-based caching rely on serializing and unserializing objects to store and retrieve data.
Docket Cache takes a better approach by turning the object cache into plain PHP code. This solution is faster since WordPress can use the cache directly without running other operations.
To use Docket Cache requires minimum:
To adjust the plugin behaviour, installation or manage through a command line, please refer to the Documentation for details.
Fund Docket Cache one-off or recurring payment to support our open-source development efforts.
Noteworthy Sponsors:
A heartful thanks and appreciation.
Other sponsors are mentioned in the honourable list
Version | 24.07.02 |
Last updated | December 18, 2024 |
Active installations | 20.000 |
WordPress version | 5.4 or higher |
Tested up to | 6.7.2 |
PHP version | 7.2.5 or higher |
Author: Nawawi Jamili