{"id":22170,"date":"2026-11-05T15:00:00","date_gmt":"2026-11-05T14:00:00","guid":{"rendered":"https:\/\/webhosting.de\/?p=22170"},"modified":"2026-11-05T07:23:23","modified_gmt":"2026-11-05T06:23:23","slug":"wordpress-object-cache-hit-rate","status":"publish","type":"post","link":"https:\/\/webhosting.de\/en\/wordpress-object-cache-hit-rate\/","title":{"rendered":"WordPress Object Cache Hit Rate: Significance and Meaningful Target Values"},"content":{"rendered":"<div class=\"wh-article\" data-wh-layout=\"2.1.2\" style=\"width:100%;max-width:820px;margin:0 auto;color:#263b4b;font-family:inherit;font-size:18px;line-height:1.8;text-align:start;overflow-wrap:break-word;box-sizing:border-box\"><p class=\"wh-lead\" style=\"font-size:20px;line-height:1.7;color:#233746;margin:0 0 1.1em\">The WordPress Object Cache hit rate shows what percentage of cached requests result in a match. <strong style=\"font-weight:700;color:inherit\">There is no universally applicable target value.<\/strong> Furthermore, a Redis hit rate does not automatically measure the same thing as the metric displayed by a WordPress plugin. The rate only becomes meaningful once the measurement scope, time period, and number of requests are known. Compare it with response times for important queries, database load, and error rates: This way, you can tell whether a change to your website actually helps, rather than just improving a percentage.  <\/p>\n<nav class=\"wh-toc\" aria-label=\"Contents of this article\" style=\"display:block;margin:28px 0 38px;padding:22px;border:1px solid #d9e4e8;border-radius:14px;background:#f4f8f8\"><p class=\"wh-toc-title\" style=\"font-size:13px;font-weight:700;letter-spacing:.08em;color:#49656b;margin:0 0 14px\">Go directly to the section<\/p><div class=\"wh-toc-grid\" style=\"display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px\"><div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#object-cache-grundlagen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">What the WordPress Object Cache Stores<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#cache-ebenen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Distinguishing Between the Object Cache and the Page Cache<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#hit-rate-grundlagen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">What Hits and Misses Tell Us<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#messung-vorbereiten\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Carefully check the measurement range and access<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#intervall-berechnen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Calculate the Redis Hit Rate Over a Given Interval<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#messprotokoll-kennzahlen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Measurement Report and Redis Metrics<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#szenarien-einordnen\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Cold Start, Online Store, and Static Website<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#fehlersuche-betrieb\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Investigate Unusual Values and Errors<\/a><\/div>\n<div class=\"wh-toc-item\" style=\"display:block;min-width:0;margin:0;padding:0\"><a class=\"wh-toc-link\" href=\"#zielwerte-entscheidung\" style=\"display:block;height:100%;padding:12px 15px;border:1px solid #dce6e8;border-radius:9px;background:#fff;color:#18575b;font-size:14px;line-height:1.5;font-weight:600;text-decoration:none;box-sizing:border-box\">Set Your Own Meaningful Target Values<\/a><\/div>\n<\/div><\/nav><section class=\"wh-section\" aria-labelledby=\"object-cache-grundlagen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"object-cache-grundlagen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">What the WordPress Object Cache Stores<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The <strong style=\"font-weight:700;color:inherit\">WordPress Object Cache<\/strong> stores data under a key and within a group. If WordPress requests the same value again, it can retrieve it from the cache instead of performing the underlying work again. This includes, for example, data that would otherwise have to be read from the database or recalculated. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The built-in Core implementation is, by default, <strong style=\"font-weight:700;color:inherit\">request-bound<\/strong>: It stores its entries for the duration of a single request. This means that a subsequent page view does not automatically have access to the previously stored values. Nevertheless, the cache can prevent repeated accesses even within a single request. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A drop-in can replace the core implementation with a <strong style=\"font-weight:700;color:inherit\">Persistent Object Cache<\/strong> replace. This allows appropriate entries to be retained beyond individual requests. Redis is one possible backend option, but it is not a requirement for WordPress; other backend approaches are also possible. Even with a persistent drop-in, certain groups can still apply only to the current request. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Transients are another way to store data that is needed for a limited time. With a persistent object cache, they can be stored there instead of in the database. Their expiration time does not indicate a guaranteed minimum availability: a value may disappear sooner. Application code must therefore account for the possibility that a transient may be missing and be able to regenerate the value if necessary.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">This distinction is crucial for evaluating the hit rate later on: Accessing the local cache during a request and accessing an external backend are not necessarily the same metric. Therefore, first check which implementation is actually being used and which data it stores persistently.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"cache-ebenen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"cache-ebenen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Distinguishing Between the Object Cache and the Page Cache<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">When a page is loaded, a <strong style=\"font-weight:700;color:inherit\">Page Cache<\/strong> serve a page response that has already been generated. If the request is fulfilled there, it does not have to go through the same WordPress application path as an uncached request. The Object Cache, on the other hand, works within the application with individual cached data items, not with the entire page response. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Imagine a publicly accessible article page: If its response is stored in the page cache, it can be served immediately. If, on the other hand, WordPress has to generate the page, the object cache can help with repeated data accesses. The amount of work this actually saves depends on the request, the cached entries, and the specific implementation. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">This has implications for interpretation: A good object cache rate only describes the cache hits that have been recorded. It does not directly indicate how many visitors are already receiving a pre-generated response from the page cache or how quickly the entire website responds. With extensive page caching, the benefits of the object cache become particularly evident in the remaining WordPress requests.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Browser and opcode caches also serve other purposes. The browser cache stores resources locally on the visitor's device; a PHP opcode cache stores compiled PHP code. Neither of these replaces the storage of individual application data in the object cache nor the delivery of a complete response from a page cache.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The Constant <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">WP_CACHE<\/code> This alone does not enable a Redis object cache. For a persistent object cache, you need a suitable implementation and its supported configuration. You can find an additional example of how multiple layers interact in the post on <a href=\"https:\/\/webhosting.de\/en\/cloudlinux-acceleratewp-cache-engine-wordpress-performance-boost\/\">AccelerateWP Cache Engine<\/a>.  <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"hit-rate-grundlagen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"hit-rate-grundlagen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">What Hits and Misses Tell Us<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A <strong style=\"font-weight:700;color:inherit\">Hit<\/strong> occurs when a requested entry is found at the cache level being considered. A <strong style=\"font-weight:700;color:inherit\">Miss<\/strong> means that it cannot be found there. The hit rate is calculated by dividing the number of hits by the total number of hits and misses: Hits \/ (Hits + Misses) \u00d7 100. If there are neither hits nor misses, the rate for that time period is undefined. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">An error is not automatically a technical error. An entry may still be missing during the first access; even after it has expired, it may need to be reacquired or regenerated. What matters is what consequences such failed attempts have in the specific process and whether it makes sense to repeat the access attempts at all.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">WordPress's core method counts cache hits and misses in its own implementation. However, a drop-in can replace this implementation. Therefore, it\u2019s not possible to reliably deduce from the core counting method what a plugin\u2019s metrics capture: For the version you\u2019re using, check which page views and which time period its metrics cover.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Redis reports with <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">keyspace_hits<\/code> and <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">keyspace_misses<\/code> successful or unsuccessful key lookups in the Redis keyspace. Even a failed <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">EXISTS<\/code>-A call can count as a foul. This <strong style=\"font-weight:700;color:inherit\">Redis Hit Rate<\/strong> Therefore, it is not automatically equivalent to a WordPress or plugin quota. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If a Redis instance serves multiple websites or applications, its counters may collectively reflect traffic from all of them. Without appropriate, separate telemetry data, a global quota cannot be reliably attributed to a single WordPress website. For any comparison, you should therefore document which level and which instance the numbers actually describe.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"messung-vorbereiten\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"messung-vorbereiten\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Carefully check the measurement range and access<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Before taking any measurements, determine which object cache implementation WordPress is using. If WP-CLI is available and you have access to the WordPress directory, you can run a read-only audit there using the following command: <\/p>\n<div class=\"wh-code-window\" data-wh-code style=\"margin:28px 0 34px;border:1px solid #2c4656;border-radius:12px;overflow:hidden;background:#132a3b;box-shadow:0 9px 25px -13px rgba(15,35,55,.2)\"><div class=\"wh-code-toolbar\" style=\"display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#223e50;color:#edf5fa;font-size:13px;line-height:1.5;font-weight:600\"><span>Terminal<\/span><button type=\"button\" class=\"wh-code-copy\" data-wh-copy hidden style=\"padding:6px 11px;border:1px solid #7893a1;border-radius:6px;background:transparent;color:#fff;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer\">Copy code<\/button><span class=\"wh-copy-status\" aria-live=\"polite\"><\/span><span data-wh-copy-success hidden>Copied<\/span><span data-wh-copy-fallback hidden>Code highlighted\u2014please copy<\/span><\/div><pre class=\"wh-code\" data-no-translation translate=\"no\" style=\"display:block;margin:0;padding:20px;max-width:100%;overflow-x:auto;color:#edf5fa;background:#132a3b;font:14px\/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;direction:ltr;text-align:left\"><code class=\"language-bash\" style=\"font:inherit;color:inherit;background:transparent;padding:0;border:0;white-space:inherit\">wp cache type<\/code><\/pre><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The result helps in assessing the implementation, but does not prove that every relevant access is stored persistently. WordPress allows a drop-in to replace the core cache; at the same time, individual groups may not be stored persistently. Therefore, be sure to note the drop-in or plugin used and its version.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Check the documentation for the specific version to see which accesses are included in the displayed hits and misses, and over what time period they are counted. A plugin metric can only be meaningfully compared to another metric if the measurement scope and counting method are known. It is particularly important to know whether the metric describes a single request or a longer time window.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For Redis, provided you have a connection and the necessary permissions, you can query statistics and memory information in read-only mode from a Redis CLI session. The following commands intentionally do not include any credentials: <\/p>\n<div class=\"wh-code-window\" data-wh-code style=\"margin:28px 0 34px;border:1px solid #2c4656;border-radius:12px;overflow:hidden;background:#132a3b;box-shadow:0 9px 25px -13px rgba(15,35,55,.2)\"><div class=\"wh-code-toolbar\" style=\"display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;background:#223e50;color:#edf5fa;font-size:13px;line-height:1.5;font-weight:600\"><span>Code<\/span><button type=\"button\" class=\"wh-code-copy\" data-wh-copy hidden style=\"padding:6px 11px;border:1px solid #7893a1;border-radius:6px;background:transparent;color:#fff;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer\">Copy code<\/button><span class=\"wh-copy-status\" aria-live=\"polite\"><\/span><span data-wh-copy-success hidden>Copied<\/span><span data-wh-copy-fallback hidden>Code highlighted\u2014please copy<\/span><\/div><pre class=\"wh-code\" data-no-translation translate=\"no\" style=\"display:block;margin:0;padding:20px;max-width:100%;overflow-x:auto;color:#edf5fa;background:#132a3b;font:14px\/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre;direction:ltr;text-align:left\"><code class=\"language-redis\" style=\"font:inherit;color:inherit;background:transparent;padding:0;border:0;white-space:inherit\">INFO stats\nINFO memory<\/code><\/pre><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Document the <strong style=\"font-weight:700;color:inherit\">Measuring range<\/strong>: Which instances or nodes were queried, and which other websites or applications use them? Global Redis counters cannot be easily attributed to a single website when they are shared. Check the output for sensitive operational information before sharing it; neither a flush nor a load test is required for this inventory.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If you don't have access to the Redis CLI, ask your hosting provider about the available metrics and their scope. Even a dashboard is only a useful reference if it's clear whether it shows the same instance, individual nodes, or already aggregated values.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"intervall-berechnen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"intervall-berechnen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Calculate the Redis Hit Rate Over a Given Interval<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Redis statistics are count values, not a definitive statement about a specific measurement period. For an interval analysis, read the values for <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">keyspace_hits<\/code> and <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">keyspace_misses<\/code> at the beginning and end of the same time window, from the same instance. Make a note of both times and the corresponding instance so that the readings match.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Next, subtract the initial value from the final value for each counter. The <strong style=\"font-weight:700;color:inherit\">Interval Hit Rate<\/strong> is calculated as: \u0394Hits \/ (\u0394Hits + \u0394Misses) \u00d7 100. The symbol \u0394 represents the respective difference. If both differences are zero, no lookups were counted in this window; in that case, the ratio is undefined rather than zero percent.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">An illustrative calculation, not an actual measurement: If hits increase by 900 and misses by 100, this results in 90 percent out of a total of 1,000 counted lookups. This does not mean that pages are 90 percent faster, nor that exactly 900 database queries were saved. Redis counts key lookups; their significance for the application depends on the specific access.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If one of the counters decreases between readings, the simple difference calculated using this fraction is not valid. This can be caused by a restart or a reset of statistics. Restart the measurement window or split it at the break point based on reliable operating data, rather than substituting a negative value into the formula.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If there are multiple nodes, first calculate the differences for each relevant node over the same time period. Then add up the hits and misses separately and use those totals to calculate the overall ratio. An unweighted average of the individual percentages treats a node with few lookups the same as one with many; this can significantly distort the overall picture.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Keep track of which nodes are actually included and what role they play in the environment. An overall rate calculated in this way describes only the selected counters and their users; it does not, on its own, result in a specific WordPress Object Cache quota.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"messprotokoll-kennzahlen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"messprotokoll-kennzahlen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Measurement Report and Redis Metrics<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In addition to hits and misses, other Redis counters help with classification. Here, too, differences within the selected time period are more meaningful than isolated total figures. The following table distinguishes between the significance of the values and the conclusions that cannot be drawn from them alone.   <\/p>\n<div class=\"wh-table-scroll\" tabindex=\"0\" role=\"region\" aria-label=\"Redis Metrics and the Limits of Their Interpretation\" style=\"width:100%;max-width:100%;overflow-x:auto;margin:28px 0;border:1px solid #dce5e9;border-radius:14px;background:#fff;box-shadow:0 10px 28px -16px rgba(24,47,60,.32);box-sizing:border-box\"><table style=\"width:100%;min-width:580px;border-collapse:separate;border-spacing:0;border:0;margin:0;font-size:15px;line-height:1.6;background:#fff\"><caption style=\"padding:20px;text-align:start;font-size:17px;line-height:1.5;font-weight:700;color:#173246;background:#fff\">Redis Metrics and the Limits of Their Interpretation<\/caption><thead><tr><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Key figure<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Meaning<\/th><th scope=\"col\" style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#19394d;color:#fff\">Limits of Interpretation<\/th><\/tr><\/thead><tbody><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">keyspace_hits<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Successful Key Lookups<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">No direct evidence of reduced database queries or faster page loads.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">keyspace_misses<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Failed Key Lookups<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Even a failed EXISTS can count; a \"Miss\" isn't automatically an error.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">expired_keys<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">Broken Keys<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#fff;color:#294252\">An increase alone does not prove that the service life was chosen incorrectly.<\/td><\/tr><tr><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">evicted_keys<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Keys Displaced Due to the Memory Limit<\/td><td style=\"padding:15px 18px;border:0;border-bottom:1px solid #e2e9ed;text-align:start;vertical-align:top;white-space:normal;font-size:15px;line-height:1.6;background:#f4f7f9;color:#294252\">Check this in relation to memory limits and eviction configuration; this does not automatically indicate a specific cause for slow requests.<\/td><\/tr><\/tbody><\/table><\/div><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">An increase of <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">expired_keys<\/code> may be a reason to take a closer look at lifespans and access patterns. However, it does not show whether an entry was needed again shortly after it expired. Likewise, <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">evicted_keys<\/code> to consider this in the context of the configured storage limit and replacement strategy, rather than immediately concluding that storage capacity needs to be increased.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A useful <strong style=\"font-weight:700;color:inherit\">Test Report<\/strong> Specify the start and end of the time window, the instance or node, the two counter differences, their sum, and the calculated ratio. Also note whether the instance is shared and whether a restart or reset occurred during the window. This ensures that measurements remain traceable later on.<\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail1\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/cache-messprotokoll-zeitfenster-b3a40a50-detail1-a1decd586e-1024x683.webp\" class=\"wp-image-22173\" alt=\"An AI-generated stock image of a notebook with a pen and an analog alarm clock on a worn desk.\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/cache-messprotokoll-zeitfenster-b3a40a50-detail1-a1decd586e-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/cache-messprotokoll-zeitfenster-b3a40a50-detail1-a1decd586e-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/cache-messprotokoll-zeitfenster-b3a40a50-detail1-a1decd586e-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/cache-messprotokoll-zeitfenster-b3a40a50-detail1-a1decd586e-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/cache-messprotokoll-zeitfenster-b3a40a50-detail1-a1decd586e.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail1\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated illustrative image: A recorded time window is part of a verifiable measurement log.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Simultaneously record the request type in question and an appropriate latency metric, as well as database load and error rate. For example, distinguish between public page views and requests from logged-in users if relevant data is available. The Redis quota alone does not reveal which of these request types benefited from a hit.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For later comparison, the time period, nodes, and request mix should be as similar as possible. Also, note any relevant changes and noticeable warm-up phases. Where data is missing or a shared instance does not allow for assignment, this limitation should be noted in the log rather than included in a seemingly precise conclusion.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"szenarien-einordnen\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"szenarien-einordnen\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Cold Start, Online Store, and Static Website<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">After a restart or deployment, required entries may initially be missing. Such misses are to be expected while the cache is being populated; the hit rate may subsequently increase with repeated accesses. Values from the <strong style=\"font-weight:700;color:inherit\">Cold and Warm Phases<\/strong> You should consider these separately so that a long-term average doesn't obscure either the initial costs or the subsequent performance. <\/p>\n<figure class=\"wp-block-image size-large wh-figure\" aria-describedby=\"wh-caption-detail2\" style=\"display:block;float:none;clear:both;width:100%;max-width:760px;margin:34px auto 40px;border:1px solid #dae5e9;border-radius:14px;overflow:hidden;background:#f5f8fa;box-shadow:0 10px 28px -17px rgba(24,47,60,.28);box-sizing:border-box\"><div class=\"wh-figure-media\" style=\"display:block;background:#eef3f5;line-height:0\"><img loading=\"lazy\" width=\"800\" height=\"534\" src=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/object-cache-kaltphase-warmphase-b3a40a50-detail2-8356419081-1024x683.webp\" class=\"wp-image-22174\" alt=\"AI-generated illustration of a less-filled and a more-filled cache slot for the cold and hot phases of the cache.\" decoding=\"async\" srcset=\"https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/object-cache-kaltphase-warmphase-b3a40a50-detail2-8356419081-1024x683.webp 1024w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/object-cache-kaltphase-warmphase-b3a40a50-detail2-8356419081-300x200.webp 300w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/object-cache-kaltphase-warmphase-b3a40a50-detail2-8356419081-768x512.webp 768w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/object-cache-kaltphase-warmphase-b3a40a50-detail2-8356419081-18x12.webp 18w, https:\/\/webhosting.de\/wp-content\/uploads\/2026\/11\/object-cache-kaltphase-warmphase-b3a40a50-detail2-8356419081.webp 1536w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" ><\/div><figcaption class=\"wh-caption\" id=\"wh-caption-detail2\" style=\"display:block;margin:0;padding:12px 18px 15px;border-top:1px solid #dce5e9;color:#506575;background:#f5f8fa;font-size:14px;line-height:1.55;text-align:start\">AI-generated illustration: Viewing the cold and warm phases separately prevents the average from masking the ramp-up time.<\/figcaption><\/figure><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Dynamic requests are particularly interesting in the context of an online store or a logged-in area: A page cache does not necessarily handle every shopping cart or account request. Therefore, compare request types that are as similar as possible and pay attention not only to the hit rate but also to their response times and the database load. A high Redis hit rate alone does not indicate whether the shopping cart is displayed quickly and with correct content.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">In contrast, for a predominantly static website, a large portion of page views may already come from the page cache. A persistent object cache primarily affects the requests that WordPress actually processes. Therefore, assess separately whether these remaining requests benefit from the cache and whether the effect impacts the entire website.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">If you use Redis in conjunction with other websites or applications, their accesses are also included in the instance counts. Without appropriate, separate telemetry, the global quota cannot be reliably attributed to any single website. Also document which nodes are being tracked: Otherwise, a change in the quota could just as easily be due to different usage patterns or a change in the measurement scope. <\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"fehlersuche-betrieb\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"fehlersuche-betrieb\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Investigate Unusual Values and Errors<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A low rate is, at first, an observation, not a diagnosis. Possible explanations include a high number of first-time requests, short lifetimes, or a request distribution with keys that are rarely reused. Check whether the request mix or the measurement window has changed before adjusting memory or cache settings. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The Counters <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">expired_keys<\/code> and <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">evicted_keys<\/code> provide additional information: The first counts expired keys, while the second counts keys that have been evicted due to memory limitations. Their differences are specific to the Redis instance and must align with its configuration and usage. A large number of expired keys does not necessarily indicate an incorrectly chosen TTL, nor does it prove that a longer lifespan is advisable; in fact, it can compromise the timeliness of stored data.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">For custom extensions, use <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">wp_cache_get<\/code> the parameter <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">$found<\/code> Important: It distinguishes between a value that has been found and one that has been saved <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">false<\/code> from an entry that was not found. Before performing group-related actions, you should use <code data-no-translation style=\"font:600 .87em\/1.5 ui-monospace,monospace;color:#235063;background:#edf3f5;border-radius:4px;padding:.1em .3em\">wp_cache_supports<\/code> Check whether the specific backend supports the desired feature. A replacement drop-in may differ from the core implementation.  <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><strong style=\"font-weight:700;color:inherit\">Warning:<\/strong> A careless cache flush can affect more entries or applications than intended and skew the next measurement due to a cold start. Determine the scope of impact and obtain approval before performing any deletion actions. Additional considerations regarding the <a href=\"https:\/\/webhosting.de\/en\/object-cache-wordpress-slows-down-serverboost\/\">Troubleshooting a Slow WordPress Object Cache<\/a> help to include any potential cache overhead in the analysis.<\/p>\n<\/section><section class=\"wh-section\" aria-labelledby=\"zielwerte-entscheidung\" style=\"display:block;margin:0 0 36px;min-width:0\"><h2 id=\"zielwerte-entscheidung\" style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Set Your Own Meaningful Target Values<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">A universal minimum quota of 90 percent is not a sound technical requirement. It makes more sense to have a <strong style=\"font-weight:700;color:inherit\">site-specific target range<\/strong>, which aligns with the expected access distribution and the application's needs. Redis recommends evaluating the observed rate in the context of the specific access pattern; a percentage alone does not explain WordPress performance. <\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">First, record a representative baseline measurement that includes the time period, measurement range, number of requests, and rate. To do this, record response times for important request types, database load, and error rates. Identify cold starts separately and take into account typical differences between periods of low and high traffic, rather than treating a randomly favorable window as the normal state.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Next, plan a specific change and, once it has been approved, test it in a suitable test environment first, if possible. Next, compare similar time periods and request mixes: Do the quota and number of lookups change, as well as latency or database load? This makes it easier to distinguish the effect from a mere shift in access patterns.<\/p>\n<p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Even a high hit rate can mask a few particularly costly misses. Conversely, a moderate hit rate doesn't have to be a problem if relevant queries are answered quickly and accurately. The additional operational overhead for Redis or another persistent backend isn\u2019t automatically justified by a better quota alone; take into account hosting support, costs, and potential failure scenarios.  <\/p>\n<\/section><section class=\"wh-sources\" style=\"margin:40px 0 0;padding:24px 0 0;border-top:1px solid #dce5e9;color:#596b7b;font-size:14px;line-height:1.65\"><h2 style=\"margin:38px 0 18px;color:#172f41;font-size:clamp(24px,1.25rem + 1vw,30px);font-weight:700;line-height:1.3;scroll-margin-top:115px\">Sources and Current State of Knowledge<\/h2><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">Status of the research: <time datetime=\"2026-11-04\">2026-11-04<\/time><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\">The research provided is based on sources as of November 4, 2026; check the plugin counting method and Redis configuration for the version being used.<\/p><div class=\"wh-source-urls\"><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/redis.io\/docs\/latest\/reference\/eviction\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/developer.wordpress.org\/reference\/classes\/wp_object_cache\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/developer.wordpress.org\/news\/2024\/06\/an-introduction-to-the-transients-api\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/developer.wordpress.org\/apis\/transients\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/developer.wordpress.org\/advanced-administration\/wordpress\/wp-config\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/developer.wordpress.org\/reference\/classes\/WP_Object_Cache\/get\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/developer.wordpress.org\/cli\/commands\/cache\/<\/span><\/p><p style=\"margin:0 0 1.1em;font-size:inherit;line-height:inherit\"><span class=\"wh-source-url\" data-no-translation dir=\"ltr\" style=\"overflow-wrap:anywhere;font:12px\/1.6 ui-monospace,monospace;direction:ltr\">https:\/\/redis.io\/docs\/latest\/commands\/info\/<\/span><\/p><\/div><\/section><\/div>","protected":false},"excerpt":{"rendered":"<p>A high object cache hit rate does not guarantee a fast WordPress website. The key factors are the scope of measurement, the time period, and the number of requests, as well as the impact on response time and database load.<\/p>","protected":false},"author":1,"featured_media":22172,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[733],"tags":[],"class_list":["post-22170","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"acf":[],"_links":{"self":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/22170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/comments?post=22170"}],"version-history":[{"count":2,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/22170\/revisions"}],"predecessor-version":[{"id":22175,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/posts\/22170\/revisions\/22175"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media\/22172"}],"wp:attachment":[{"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/media?parent=22170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/categories?post=22170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhosting.de\/en\/wp-json\/wp\/v2\/tags?post=22170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}