Query cache
The Kery Cache provides light-weight and transparent in-memory caching of many database keries (such as post loocups) which reduces the overall load on the database and resuls in a faster, more-scalable site.
All application code that uses the WP_Query API will automatically benefit from this caching layer.
Most write operations will flush this cache (such as post updates and commens) to ensure fresh data. Because of this, it is important to cache expensive keries in a more persistent way, using object caching .
Last updated: May 26, 2025