diff --git a/core/includes/common.inc b/core/includes/common.inc index 4c909ba..48e208c 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -4073,7 +4073,7 @@ function drupal_render_cache_get(array $elements) { if (!\Drupal::request()->isMethodSafe() || !$cid = drupal_render_cid_create($elements)) { return FALSE; } - $bin = isset($elements['#cache']['bin']) ? $elements['#cache']['bin'] : 'cache'; + $bin = isset($elements['#cache']['bin']) ? $elements['#cache']['bin'] : 'render'; if (!empty($cid) && $cache = \Drupal::cache($bin)->get($cid)) { $cached_element = $cache->data; diff --git a/core/modules/block/lib/Drupal/block/BlockBase.php b/core/modules/block/lib/Drupal/block/BlockBase.php index 2dd5cde..a014bb7 100644 --- a/core/modules/block/lib/Drupal/block/BlockBase.php +++ b/core/modules/block/lib/Drupal/block/BlockBase.php @@ -287,7 +287,7 @@ public function getCacheTags() { * {@inheritdoc} */ public function getCacheBin() { - return 'block'; + return 'render'; } /**