Clearing the cache
Linux System:
Clear the Jadu Cache via the /jadu/maintenance/cacheBash.php page in the Jadu Control Center.
Alternatively, in a terminal running as root user on a web node, run the following to clear the cache:
php -d memory_limit=-1 /var/www/jadu/cli.php cms:clear-cache
If using a Redis cache datastore (hosted on jadu-redis) you could flush the Data cache (excluding Config and Symfony cache) using the Redis cli.
If the same redis host is used for the session store, flushing the cache using the following method will also flush session data.
redis-cli -h jadu-redis flushall
In a terminal running as root user on a web node, run the following to warm the cache again:
sudo -u jadu-www /usr/bin/php -d memory_limit=-1 /var/www/jadu/cli.php cache:warmup --kernel=cc
sudo -u jadu-www /usr/bin/php -d memory_limit=-1 /var/www/jadu/cli.php cache:warmup --kernel=frontend
If Galaxies Sites are in service, also warm their cache:
sudo -u jadu-www /usr/bin/php -d memory_limit=-1 /var/www/jadu/cli.php cache:warmup --kernel=galaxy
Windows System:
Clear the Jadu Cache via the /jadu/maintenance/cacheBash.php page in the Jadu Control Center
Alternatively, in a Command Prompt runing as Administrator on a web node, where the Jadu installation directory is C:\inetput\wwwroot\jadu
, run the following to clear the cache:
php -d memory_limit=-1 C:\inetput\wwwroot\jadu\cli.php cms:clear-cache
If using a Memurai cache datastore (hosted on jadu-redis) you could flush the Data cache (excluding Config and Symfony cache) using the Memurai cli.
If the same Memurai host is used for the session store, flushing the cache using the following method will also flush session data.
memurai-cli.exe -h jadu-redis flushall
In a Command Prompt running as Administrator on a web node, run the following to warm the cache again (where “C:\inetpub\wwwroot\jadu” is your Jadu installation directory):
php -d memory_limit=-1 C:\inetpub\wwwroot\cli.php cache:warmup --kernel=cc
php -d memory_limit=-1 C:\inetpub\wwwroot\cli.php cache:warmup --kernel=frontend
If Galaxies Sites are in service, also warm their cache:
php -d memory_limit=-1 C:\inetpub\wwwroot\cli.php cache:warmup --kernel=galaxy