Skip to content

Commit 7399a64

Browse files
authored
Update static-caching.md (#1396)
1 parent 7aee674 commit 7399a64

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Diff for: content/collections/docs/static-caching.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,7 @@ return [
389389
]
390390
]
391391
],
392-
'navigation' => [
393-
'links' => [
394-
'urls' => [
395-
'/*'
396-
]
397-
]
398-
]
392+
'navigation' => 'all'
399393
]
400394
]
401395
];
@@ -406,7 +400,7 @@ return [
406400
- “when an entry in the blog collection is saved, we should invalidate the /blog page, any pages beginning with /blog/category/, and the home page.”
407401
- “when a term in the tags taxonomy is saved, we should invalidate those same pages”
408402
- “when the settings global set is saved, we invalidate all urls”
409-
- “when the links navigation is saved, we invalidate all urls”
403+
- “when any of the navigations are saved, we invalidate all urls”
410404

411405
You may add as many collections and taxonomies as you need.
412406

0 commit comments

Comments
 (0)