Skip to content
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
4 changes: 2 additions & 2 deletions acorn/laravel-cache-alternative-to-wordpress-transients.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading