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

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.

Script bin/php/expclustercache.php, code in kernel/private/classes/commands/expclustercache.php. Run it from the installation root, as the user the web server runs as:

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

Help text

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.

Options

OptionValueHelp
--tagrequired
--idrequired
--purge
--full

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/expclustercache.php, kernel/private/classes/commands/expclustercache.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

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