🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Yac Object Cache icon
Activement maintenu Testé avec WP 7.1

Yac Object Cache

Yac (lock-free shared memory) backed object cache for WordPress. Zero external servers, zero network round trips.

Installations actives10+10+ niveaux
Téléchargements · 30D175▼ -2.2% vs prev. 30d
Évaluation5/51 avis
Score de santé62/100Bon
Téléchargements de tous les temps630Depuis septembre 2026
Support résolu0 / 10% au cours des 2 derniers mois
A besoin deWP 5.6PHP 7.0+
Téléchargements · 7j77▲ +113.9% week over week
Notre verdict

Choix solide

Yac Object Cache is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites, is rated 5/5 and was last updated 4 days ago, and scores 62/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 4 jours
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (plus de 10 installations actives)
  • Très peu de critiques jusqu'à présent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

132639Sep 2Oct 15Nov 28
Hier7
Moyenne quotidienne (1 ans)7
Jour de pointe52Nov 26, 2026
12 Derniers mois635

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Yac Object Cache stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
cachette >100 10,000 Meilleurs plugins de cache →
object cache #29 2,440 Best object cache plugins →
performance >100 10,000 Les meilleurs plugins de performances →
shared memory #19 1,000 Best shared memory plugins →
yac #1 3 Best yac plugins →

Adoption de version

Part de sites actifs par version.

  • 1.4100.0%

Répartition des notes

★★★★★ ★★★★★ 5 sur 1 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Yac Object Cache

À partir du Lisezmoi officiel · v1.4.2

Description

Yac keeps the cache in a shared memory segment accessible to all PHP workers, so a read is a hash lookup in local memory — no cache server, no socket, no network.

Points forts

  • Fast. No socket, no network, no global lock, so throughput scales with workers. Yac’s own benchmark measured 13x-70x higher ops/s than APCu and 170x-730x higher than local Memcached, depending on value size. On the author’s own site (www.laruence.com) that translated to page renders coming out 19% faster than with the Memcached drop-in.
  • Nothing to operate. No cache server to install, secure, monitor or restart.
  • Health you can read. Hit rate, hits and misses charted over Today / Yesterday / Last 7 days, with a diagnosis that also says when not to add memory.
  • Fails soft. No extension, or yac.enable=0, degrades to a per-request cache and the site keeps serving.

Meilleur ajustement

Single-node or few-node installs where all PHP workers share a machine. For multi-server clusters needing cross-node consistency, a network cache (Memcached/Redis) suits better.

Installation

  1. Install the Yac extension, any of three ways (then enable extension=yac.so in php.ini):

    PECL

    pecl install yac

    PIE (the PHP Foundation’s PECL successor; yac is on Packagist)

    pie install laruence/yac

Or from source: download the latest release, unzip it, then inside:

phpize && ./configure && make && make install
  1. Install and activate Yac Object Cache. Activation deploys wp-content/object-cache.php.

That is it — no wp-config edit needed. Visit Tools → Yac Object Cache to verify status.

Optional php.ini tuning

yac.enable = 1
yac.keys_memory_size = 16M      ; ~128K slots (~32K per 4M)
yac.values_memory_size = 64M    ; raise for large sites (big alloptions)

Optional wp-config switches

define( 'YAC_OCACHE_KEY_PREFIX', 'wp' ); // default; give each install its own prefix when sites share one PHP pool
define( 'YAC_OCACHE_EMPTY_TTL', 21600 ); // default: cap empty negative-cache results at 6 hours; 0 disables

Journal de modifications

1.4.2

  • Tested up to WordPress 7.2.

1.4.1

  • Added Yac 3.0 compatibility for the cache inspector, including value location metadata; Yac 2.x behavior remains supported.
  • Fixed reported values-pool occupancy so it never exceeds the configured pool size after Yac recycles memory.

1.4.0

  • Multisite: blogs of one install are now isolated. The Yac instance prefix becomes YAC_OCACHE_KEY_PREFIX + the current blog id (ids up to 9999 verbatim, larger ids a 4-hex crc32b digest) and switch_to_blog() re-namespaces, so one blog can no longer read another blog’s cached entries (the menu/duplication reports on shared namespaces). Single-site behavior is unchanged; upgrading is a one-time cold start.
  • Multisite admin: the diagnostics now match that isolation. Cache-status totals stay machine-wide, but shared-memory contents, the group pie and the entry inspector/delete are scoped to the current blog (the contents heading is titled with the blog name), so a site admin can no longer read or delete another blog’s entries. The flush confirmation now also notes that Yac recycles expired memory on its own, so a manual flush is rarely needed.

1.3.1

  • Fixed the admin “Remove drop-in” action always reporting failure.
  • Added WP-CLI commands: wp yac deploy-dropin, wp yac update-dropin, wp yac remove-dropin.
  • Comment-query cache misses (WP_Comment_Query::get_comments() wraps an empty result as array('comment_ids' => array(), 'found_comments' => 0)) are now recognized as negative cache results and capped by YAC_OCACHE_EMPTY_TTL instead of occupying a slot forever.

1.3.0

  • No wp-config edit is needed any more: WP_CACHE is no longer required or reported. WordPress loads object-cache.php regardless of it — that constant only gates advanced-cache.php (page caching), which this plugin does not provide. The live CI run now boots WordPress without it to prove the point.
  • The Cache health panel became a client-side trend chart: hit rate, hits and misses over Today / Yesterday / Last 7 days, with the window’s counters and the capacity diagnosis on hover. Counters are sampled every 15 minutes into a ~7-day ring.
  • Fixed the entry inspector exhausting the PHP memory limit on a busy cache: it now pages through Yac::dump() instead of accumulating the whole dump.
  • Fixed the dashboard widget reporting “0 bytes” for values occupied. The Active bar now also shows shared-memory uptime.
  • Suggested tuning raised to yac.keys_memory_size = 16M (~128K slots); 4M gives only ~32K.

1.2.2

  • Fixed stale shared-memory writes: wp_cache_set() on a key already written by wp_cache_add() in the same request skipped the shared write, so other requests kept reading the value the add stored (the update_option() pattern left the old option behind).
  • Replaced YAC_OCACHE_SKIP_EMPTY with YAC_OCACHE_EMPTY_TTL (default 21600s): empty results now share as usual but expire instead of occupying a slot forever.
  • The health panel’s “keys used” reports live entries rather than the slots_used high-water mark.

Journal des modifications complet sur WordPress.org →

Captures d'écran

Dashboard widget: hit rate, uptime, key slots, values occupied and the 24-hour counters.
Dashboard widget: hit rate, uptime, key slots, values occupied and the 24-hour counters.
Tools → Yac Object Cache: the status bar, with the live shared-memory round trip.
Tools → Yac Object Cache: the status bar, with the live shared-memory round trip.
Tools → Yac Object Cache: cache status — hit rate, hits and misses over Today / Yesterday / Last 7 days, with the capacity diagnosis on hover.
Tools → Yac Object Cache: cache status — hit rate, hits and misses over Today / Yesterday…
Tools → Yac Object Cache: shared memory contents — keys-by-group pie, occupancy totals and the largest (or hottest) entries, each clickable for the entry inspector.
Tools → Yac Object Cache: shared memory contents — keys-by-group pie, occupancy totals…

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Yac Object Cache alternatives

Tous les plugins de cache →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 WP Super Cache WP Super Cache Un moteur de mise en cache très rapide pour WordPress qui produit des fichiers HTML statiques. par Automattic 1M+ ★★★★★★★★★★ 4.3 (1.3K) il y a 4 semaines 95
2 WP Fastest Cache – WordPress Plugin de cache WP Fastest Cache – WordPress Plugin de cache Le système de cache WP le plus simple et le plus rapide par Emre Vona 1M+ ★★★★★★★★★★ 4.9 (4.2K) 3 semaines plus tôt 91
3 WP-Optimize – cache, compressez des images, minifisez et nettoyez la base de données pour augmenter la vitesse et les performances des pages Optimiser WP Obtenez la mise en cache et plus encore avec ce puissant plugin de cache. Cache, optimisez les images, nettoyez votre… par David Anderson / Updraft de l'équipe 1M+ ★★★★★★★★★★ 4.8 (2.6K) Il y a 2 semaines 94
4 SpeedyCache – Cache, optimisation, performances SpeedyCache – Cache, optimisation, performances SpeedyCache est un plugin de cache WordPress qui vous aide à améliorer les performances de votre… par Softaculous 500K+ ★★★★★★★★★★ 4.4 (30) Il y a 2 jours 90
5 Cache de brise Cache de brise Breeze est un plugin de mise en cache développé par Cloudways. Breeze utilise des systèmes de mise en cache avancés pour… par Cloudways 300K+ ★★★★★★★★★★ 3.6 (134) Il y a 2 semaines 83
6 OMGF | Conforme au RGPD/DSGVO, les polices Google plus rapides. Facile. OMGF | Conforme au RGPD/DSGVO, les polices Google plus rapides. Facile. Le plugin d'auto-hébergement des polices d'origine Google. Cache automatiquement vos polices localement – non… par Daan van den Bergh 300K+ ★★★★★★★★★★ 4.7 (213) Il ya 3 jours 96
7 Jetpack Boost – Vitesse, performances et CSS critiques du site Web Jetpack Boost – Vitesse, performances et CSS critiques du site Web Accélérez votre site WordPress avec des optimisations en un clic comme le cache de pages, CSS critique… par Automattic 200K+ ★★★★★★★★★★ 4.7 (613) il y a 1 semaine 85
8 Cache Hispeed Aruba Cache Hispeed Aruba Aruba HiSpeed Cache s'interface directement avec le cache HiSpeed d'une plate-forme d'hébergement Aruba… par aruba.it dev 100K+ ★★★★★★★★★★ 3 (10) il y a 1 mois 79
9 Activateur de cache Activateur de cache Un plugin de mise en cache léger pour WordPress qui rend votre site Web plus rapide en générant… par keycdn 100K+ ★★★★★★★★★★ 4.3 (139) Il y a 2 mois 74
10 NitroPack – Plugin Performance, vitesse de la page et cache pour les vitaux Web de base, l'optimisation du CDN et de l'image Pack nitro Augmentez la vitesse et les performances du site avec un plugin tout-en-un et une optimisation de la vitesse… par NITRACK 80K+ ★★★★★★★★★★ 4.3 (311) 3 semaines plus tôt 78

FAQ

Yac Object Cache: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Yac Object Cache free?

Yes. Yac Object Cache is free to download and use from the official WordPress.org plugin directory.

Is Yac Object Cache safe to use in 2026?

Yac Object Cache is a solid plugin choice in 2026, with a few things worth checking first. It runs on 10+ sites, is rated 5/5 and was last updated 4 days ago, and scores 62/100 on our health check.

How many websites use Yac Object Cache?

Yac Object Cache is active on 10+ WordPress websites and has been downloaded 630 times since it launched in September 2026. It was downloaded 175 times in the last 30 days.

Does Yac Object Cache work with WordPress 7.1?

Yes. The developer has tested Yac Object Cache up to WordPress 7.2, the latest release. It requires WordPress 5.6 or newer.

What PHP version does Yac Object Cache need?

Yac Object Cache requires PHP 7.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Yac Object Cache last updated?

The latest version, 1.4.2, was released on November 26, 2026 (4 days ago).

Who makes Yac Object Cache?

Yac Object Cache is developed and maintained by laruence.

What are the best alternatives to Yac Object Cache?

The most popular alternatives to Yac Object Cache are WP Super Cache (1M+ installs), WP Fastest Cache (1M+ installs) and WP-Optimize (1M+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir