Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbe662c commit 91ed196Copy full SHA for 91ed196
1 file changed
src/StaticCaching/CustomInvalidator.php
@@ -7,6 +7,7 @@
7
use Statamic\Eloquent\Structures\Nav;
8
use Statamic\Eloquent\Structures\NavTree;
9
use Statamic\Entries\Entry;
10
+use Statamic\Forms\Form;
11
use Statamic\StaticCaching\DefaultInvalidator;
12
use Statamic\Support\Str;
13
@@ -18,6 +19,7 @@ public function invalidate($item)
18
19
$item instanceof GlobalSet
20
|| $item instanceof Nav
21
|| $item instanceof NavTree
22
+ || $item instanceof Form
23
|| $this->rules === 'all'
24
) {
25
Cache::flush();
0 commit comments