Introduced in Drupal 11.3.0, a new standardized in-memory cache bin called cache.memory replaces the old cache.static bin. This change modernizes how Drupal handles in-memory caching, improves performance, and clarifies the intended use of memory-based caches.
🚀 Overview
The new cache.memory bin is powered by the backendDrupal\Core\Cache\MemoryCache\MemoryCache.
It provides a lightweight and efficient in-memory cache that: