Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

Commit 9f62d6d

Browse files
authored
Update README.md
1 parent 44a4943 commit 9f62d6d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,11 @@ If you need to include some custom Alpine plugins, you need to [manually bundle
6969
```
7070

7171
### Static caching
72-
If you use half or full static caching, add the `LivewireReplacer` to the `replacers` array. Make sure to add this replacer after the `CsrfTokenReplacer` replacer.
72+
This addon adds an `AssetsReplacer` class to make Livewire compatible with half and full static caching. You may customize the replacers in the config of this addon:
7373

7474
```php
7575
'replacers' => [
76-
\Statamic\StaticCaching\Replacers\CsrfTokenReplacer::class,
77-
\Statamic\StaticCaching\Replacers\LivewireReplacer::class,
76+
\Jonassiewertsen\Livewire\Replacers\AssetsReplacer::class,
7877
],
7978
```
8079

0 commit comments

Comments
 (0)