08 Apr 26

New cache plugin for WordPress

If you are reading this, chances are you enjoy or have enjoyed throughout your life a love-hate relationship with WordPress, or perhaps just straight-up hate.

If that is the case, I want you to know you aren’t alone. But the fact remains that we are facing that “necessary evil”: the CMS that every developer trashes in Reddit threads but which, at the end of the day, powers 43% of the web. It is incredibly flexible, easy to use, powerful, and, let’s be honest, your clients use it for everything.

Hooooowever, being equally sincere and honest, at an infrastructure level, WordPress can be a nightmare of database queries and heavy PHP processes that would make a goat vomit. It is a genuine headache for those of us managing infrastructure due to its monolithic heritage and its dependency on the database. That’s why fed up with dealing with over-complicated plugins or watching third-party tools clash with the caches of our edge servers and invalidation processes at Transparent Edge, we have developed a native plugin designed to break that bottleneck. This isn’t a cosmetic fix; it is a deep integration with our Varnish Enterprise stack and our edge computing engine.

Why is this the plugin you need?

Most optimization solutions on the market treat CDNs as a simple external “mirror.” But if you want Tier-1 level performance, you need the CMS and the edge to speak the same language.

While other plugins limit themselves to URL-based cache clearing (which is slow and imprecise), our Transparent Edge Cache offers:

  • Surrogate-keys: we tag every object (post-123, term-45, woo-product-99) so that when content is updated, the invalidation is a precision strike that only deletes what is necessary in milliseconds.
  • Soft purge: if content expires, we continue serving the old version (stale) while WordPress regenerates the new one in the background, avoiding the dreaded Cache Stampede that crashes servers.
  • Automatic Warm-up: after a purge, the plugin “pre-heats” critical URLs (home, categories, feeds) before the first user arrives, ensuring a constant HIT ratio.
  • i3 Image Optimizer: we delegate image processing to our edge engine. Automatic WebP conversion and on-the-fly resizing without consuming aingle CPU cycle from your server—plus some capabilities that would amaze you. Imagine writing those photo captions automatically in the section without touching a single file… I’ll just leave that there.

Cut the fluff: real use cases

1. E-commerce: the dreaded Black Friday

Imagine a WooCommerce site with thousands of SKUs and a database pushed to its limit. You need to apply massive discounts to the “gaming” category.

  • The scenario: you change the price of 500 products at once.
  • The solution: the plugin detects the change and sends a single tag_invalidate for that category. Thanks to the soft purge, your customers won’t see a 504 error while the server processes the new prices; they will see the cached content until the new version is ready.

2. Digital media: breaking news and traffic spikes

A news portal publishes an exclusive. Traffic jumps from 100 to 50,000 users in minutes.

  • The flow: when the news is updated, the plugin clears specific tags (site-id, front-page, rss). Immediately, it launches the warm-up so that the first user arriving from X (Twitter) receives the news from our nodes’ RAM, not from your database.

3. LMS platforms and membership sites

Sites with high dynamic content where latency is the enemy.

  • The advantage: the plugin detects which parts are cacheable and which must remain private. Additionally, it includes native support for Object Cache (Redis or APCu), drastically reducing the execution time of WordPress queries.

“Expert” mode: VCL snippets and hooks for Devs

For those of us not satisfied with just the admin panel, the plugin generates Varnish Configuration Language (VCL) logic ready to use. For example, we implement the stripping of unnecessary marketing parameters (fbclid, utm_source) that fragment the cache and lower the hit ratio:

# Optimización nativa con urlplus
urlplus.parse(req.url);
urlplus.query_delete_regex("^(utm_source|utm_medium|fbclid)$");
set req.url = urlplus.write();

Furthermore, the plugin is fully compatible with WordPress Multisite, allowing centralized cache management for your entire network of sites from a single dashboard.

In short, let WordPress do what it does best (some say it knows how to manage content) and let us handle making sure it flies fast and straight.

/* That’s all, stop editing! Happy publishing. */  😉

Oscar Dorrego is a Pre-sales Engineer at Transparent Edge.

Psychologist by training, computer geek by hobby, pre-sales by profession, New Romantic at heart. He does so many things that even he can’t remember what he actually does for a living. More “left-handed finesse” than Nadal. Living between business and technology allows him half the joys and double the worries, but it’s impossible to dent the spirits of our favorite snake charmer.