Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples of Core cache bin names with description #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion translations/cache.rebuild.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: 'Rebuild and clear all site caches.'
options:
cache: 'Only clear a specific cache.'
cache: 'Only clear a specific cache bin.'
messages:
welcome: 'Welcome to the cache:rebuild command'
rebuild: 'Rebuilding cache(s), wait a moment please.'
Expand All @@ -13,3 +13,16 @@ examples:
execution: drupal cr all
- description: Rebuild discovery cache
execution: drupal cr discovery
- description: Common cache bin names:
execution: |
- 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 (cached configuration values)
- container (site services cache)
- data (data that can vary by path or similar context)
- default (default cache for common module cached data: installed modules, themes, locale, theme_registry, etc)
- discovery (discovery data for things such as plugins, views_data, or YAML discovered data such as library info)
- dynamic_page_cache (cached page elements: blocks, rendered entities, etc)
- entity (cached entity values)
- menu (cached menu entries)
- page (cached whole pages)
- render (cached HTML strings like cached pages and blocks, can grow to large size)