Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

exp:expclustercache

Clear the caches of this installation on every host of settings/cluster.ini: every cache (with the Valkey keys of the cache clear listeners) and Velocity's response cache.

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/commands/expclustercache.md

On this page

This page is a translation. Read the English original

exp:expclustercache

Clear the caches of this installation on every host of settings/cluster.ini: every cache (with the Valkey keys of the cache clear listeners) and Velocity's response cache.

Skript bin/php/expclustercache.php, Code in kernel/private/classes/commands/expclustercache.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:expclustercache --help
./console exp:cluster:cache --help
php bin/php/expclustercache.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Clear the caches on every host
On each host of settings/cluster.ini: exp:ezcache --clear-all, which also clears the caches
extensions keep elsewhere through the cache clear listeners (Valkey INI and view keys) and
the template-block cache; then, on a host with Engine=velocity, Velocity's response cache
(exp:velocity cache clear --apply). --tag and --id clear only those caches. --full runs
exp:velocity deploy --all-caches --no-autoload instead, which also reloads PHP-FPM and
restarts Velocity in the right order.

./console exp:cluster:cache clear
./console exp:cluster:cache clear --tag=template,content
./console exp:cluster:cache clear --full --parallel
./console exp:cluster:cache clear --dry-run

Exit code: 0 every host passed; 1 a host failed; 2 wrong options or settings.

Optionen

OptionWertHilfe
--tagerforderlich
--iderforderlich
--purge
--full

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/expclustercache.php, kernel/private/classes/commands/expclustercache.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x