From 689ee8acdbccbea8fe7de8c5d87fd70921715178 Mon Sep 17 00:00:00 2001 From: Alexey Murz Korepov Date: Tue, 9 Jul 2019 11:42:40 +0300 Subject: [PATCH 1/2] Add list of Drupal Core cache names --- en/commands/cache-rebuild.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/en/commands/cache-rebuild.md b/en/commands/cache-rebuild.md index 47375554..e1010780 100644 --- a/en/commands/cache-rebuild.md +++ b/en/commands/cache-rebuild.md @@ -13,6 +13,19 @@ Argument | Details ---------|------------- cache | Only clear a specific cache. +### Cache names, used by Drupal Core + - bootstrap + - config + - container + - data + - default + - discovery + - dynamic_page_cache + - entity + - menu + - page + - render + ## Examples * Rebuild all caches ``` From bec9835dd1dd378f12242776b5594d1c5a8c7cc7 Mon Sep 17 00:00:00 2001 From: Alexey Murz Korepov Date: Tue, 9 Jul 2019 12:20:04 +0300 Subject: [PATCH 2/2] Added descriptions from known cache types Description text from https://api.drupal.org/api/drupal/core!core.api.php/group/cache/8.8.x --- en/commands/cache-rebuild.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/en/commands/cache-rebuild.md b/en/commands/cache-rebuild.md index e1010780..55e81cbf 100644 --- a/en/commands/cache-rebuild.md +++ b/en/commands/cache-rebuild.md @@ -13,18 +13,19 @@ Argument | Details ---------|------------- cache | Only clear a specific cache. -### Cache names, used by Drupal Core - - bootstrap +### Cache bin names, used by Drupal Core: + - bootstrap: Data needed from the beginning to the end of most requests, that has a very strict limit on variations and is invalidated rarely. - config - container - - data + - data: Contains data that can vary by path or similar context. - default - - discovery + - discovery: Contains cached discovery data for things such as plugins, views_data, or YAML discovered data such as library info. - dynamic_page_cache - entity - menu - page - - render + - render: Contains cached HTML strings like cached pages and blocks, can grow to large size. + ## Examples * Rebuild all caches