Wonder Cache

Description

Wonder Cache is a dead-simple yet powerful caching plugin that includes superhuman strength and durability.
It’s forked from Batcache the major difference is; Wonder Cache uses server disk space instead of the persistent object cache.

Wonder Cache is aimed at preventing a flood of traffic from breaking your site. It does this by serving old pages to new users.
This reduces the demand on the web server CPU and the database. It also means some people may see a page that is a few minutes old.
However this only applies to people who have not interacted with your web site before.
Once they have logged in or left a comment they will always get fresh pages.

If you like our Wonder Cache, then consider checking out our other projects:

  • Powered Cache – Caching and Optimization for WordPress – Easily Improve PageSpeed & Web Vitals Score.
  • Magic Login Pro – Easy, secure, and passwordless authentication for WordPress.
  • Easy Text-to-Speech for WordPress – Transform your textual content into high-quality synthesized speech with Amazon Polly.
  • Handywriter – AI-powered writing assistant that can help you create content for your WordPress.
  • PaddlePress PRO – Paddle Plugin for WordPress.

Contributing & Bug Report

Bug reports and pull requests are welcome on Github.

Installation

From within WordPress

  1. Visit ‹Plugins > Add New›
  2. Search for ‹Wonder Cache›
  3. Activate Wonder Cache from your Plugins page.
  4. That’s all.

Manually

  1. Upload the wonder-cache folder to the /wp-content/plugins/ directory
  2. Activate the Wonder Cache plugin through the ‹Plugins› menu in WordPress
  3. That’s all.

FAQ

Should I use this?

There are tons of caching plugin on the repository. Wonder Cache is one of simplest and compatible with multisite.
If you don’t want to deal with settings or running a multisite on shared hosting or where the persistent object caching is not available, give it a try.

Why was this written?

First of all, you need to understand why Batcache had written.

Batcache was written to help WordPress.com cope with the massive and prolonged traffic spike on Gizmodo’s live blog during Apple events. Live blogs were famous for failing under the load of traffic. Gizmodo’s live blog stays up because of Batcache.

But, Batcache depends on the object caching and it’s not simple to install as a plugin for the end-user. So, Wonder Cache is a fork of Batcache that written for almost same purpose.

Which one is better? Batcache or Wonder Cache?

Depends on the situation. If you are running your website on multiple servers and able to configure memcached pool, go with Batcache.
Other than, if you are running on single server or maybe shared server and don’t have much memory; use Wonder Cache.

Where the name comes from?

It comes from Wonder Woman.

Is it fastest caching solution?

Nope! If you are able to configure; go with varnish.
If you are good at the server, you can use nginx micro caching or page caching that supports apache rewrite. (e.g Powered Cache )
There is always vice/versa when you bring a new tool or adding complexity.

Reviews

27. Februar 2024 2 replies
Dear Mustafauysal, I wanted to express my sincere gratitude for your incredible contribution. Your TINY caching plugin has been an absolute game-changer for my website. After struggling with compatibility issues between FlyingPress and WP Rocket with Sucuri WAF, your plugin emerged as the perfect solution. Previously, I encountered significant challenges as other caching plugins caused my CPU to spike to 99%, leading to site breakdowns. However, perfmatters helped to alleviate some of these issues. Still, I required a lightweight page cache plugin to prevent server overload during peak traffic periods. Enter your Wonder Cache plugin. Not only has it seamlessly integrated with my site, but it has also significantly improved its speed and performance. I can now rest assured that even during high-traffic times, my site remains stable and responsive. Once again, thank you immensely for developing such a remarkable tool. Your dedication to creating solutions that truly enhance website functionality is greatly appreciated. Warm regards,Greg
15. Juli 2023
<font _mstmutation="1" _msttexthash="95823" _msthash="353">На самом деле - Тайник Чудес! Просто и мгновенно очистил кэш. Благодарю!!!</font><font _mstmutation="1"></font>
17. Januar 2022 1 reply
Cache better, and serve page faster than premium cache plugins. Not writing anything in htaccess, or even in database! I also think this has the smallest cache plugin installer (zip size is only 15kb). Simply amazing!
Read all 4 reviews

Contributors & Developers

“Wonder Cache” is open source software. The following people have contributed to this plugin.

Contributors

“Wonder Cache” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Wonder Cache” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

0.5 (Oct 25, 2023)

  • Vary the cache when only JSON is accepted.
  • PHP 8.2: Enable AllowDynamicProperties in wondercache class.
  • Tested with WordPress 6.4.

0.4 (Feb 8, 2022)

  • Fix: Never cache a request with X-WP-Nonce header
  • Opt-in CORS GET request cache
  • Increase timer sensitivity in debug info
  • Small tweaks & refactoring
  • Tested with WP 5.9

0.3 (Sep 2, 2021)

  • Updated & improved coding standards
  • Tested with WP 5.8
  • Added composer support

0.2.1 (Dec 8, 2020)

  • update author info
  • tested with WP 5.6

0.2.0 (Oct 6, 2019)

  • clean-up cache directory on deactivation
  • admin bar button added for flushing cache

0.1.0

  • Initial release