Why OPcache Wasted Memory Grows With Docket Cache
With Docket Cache active, the Current Wasted number in OPcache keeps going up. This is why it happens, what Docket Cache 26.04.12 changes, and how to keep it under control.
News, background and how-tos from the Docket Cache project. Atom feed
With Docket Cache active, the Current Wasted number in OPcache keeps going up. This is why it happens, what Docket Cache 26.04.12 changes, and how to keep it under control.
Object Cache Precaching remembers which cached values each page needs, and loads them first on the next visit. This is how it works, and when to turn it on.
Shared hosting limits disk activity, the number of files and the number of processes. This is how Docket Cache fits within those limits, and which settings to change first.
Docket Cache saves its cache as plain PHP files, so that OPcache can keep them in memory. This is how that works, and what happens when OPcache runs out of room.
Four simple ways to check that Docket Cache is caching your site, from the Overview screen to WP-CLI and Site Health, and what to check when it is not.
Since 26.04.09, Docket Cache no longer contacts api.docketcache.com. This is what the old Critical Version Checking option did, and why we removed it.
Docket Cache has to work on many versions of PHP and WordPress, on single sites and on multisite. This is how we use WP Staging CLI to build and test those sites on one computer.
Docket Cache, Redis and Memcached all keep the WordPress object cache between pages. This is how they differ, and how to choose one for your site.
Docket Cache 26.04.10 crashed some sites running SEOPress PRO and WooCommerce. This is what went wrong, why our tests did not catch it, and how 26.04.11 fixed it.
Since 26.04.10, Docket Cache returns cached strings exactly as they were stored. This is why we changed it, and what it means for your site.
Cronbot keeps the Docket Cache garbage collector running, even when WP-Cron cannot run on its own. We rewrote its server in Go. It sends more pings at once, and your site needs no update.
We rebuilt docketcache.com from scratch. It is now a small static site with the docs, the blog and the contact form in one place, and no WordPress to look after.
WordPress loads many settings on every page in one big list called alloptions. This is why that list grows, and how Docket Cache keeps it small.
The Docket Cache runtime code lets you change some WordPress settings from the admin screen, without editing the wp-config.php file yourself.
Our first Docket Cache t-shirts were booked in a short time, and the earnings went towards the server. This is how you can support Docket Cache today.
What object caching is, why WordPress forgets its cache after every page, and how a persistent object cache fixes that.