Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
There is a @todo in cartBlock.php for getCacheMaxAge();
Let's do this! (Not even sure we should try to cache the cart, or perhaps we should make the caching of the block configurable?)
Comments
Comment #2
mglamanDuplicate of #2659032: Add the cache contexts for the cart block.