From 0b804425c322afa1fcdbf96cf35ef63d2c610eeb Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sat, 5 Dec 2026 15:39:27 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Document=20`cache:clear=20--netw?= =?UTF-8?q?ork`=20on=20multisite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- acorn/laravel-cache-alternative-to-wordpress-transients.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acorn/laravel-cache-alternative-to-wordpress-transients.md b/acorn/laravel-cache-alternative-to-wordpress-transients.md index 4292ceb3..2853e2d7 100644 --- a/acorn/laravel-cache-alternative-to-wordpress-transients.md +++ b/acorn/laravel-cache-alternative-to-wordpress-transients.md @@ -48,10 +48,10 @@ $ wp acorn cache:clear ``` ::: tip -On multisite, each site gets its own file cache, so `cache:clear` only clears the current site. Use `--url` to target a site, or loop over all of them: +On multisite, each site gets its own file cache, so `cache:clear` only clears the current site. Use `--url` to target a site, or `--network` to clear every site: ```shell -$ wp site list --field=url | xargs -I{} wp acorn cache:clear --url={} +$ wp acorn cache:clear --network ``` Redis, database, and Memcached stores are cleared for the whole network. If Acorn shares a Redis database with your object cache, `cache:clear` flushes that too, so give Acorn its own database.