Skip to content

Commit 2502356

Browse files
Revert "Update static-caching.md (#1396)" (#1397)
This reverts commit 7399a64.
1 parent 7399a64 commit 2502356

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/collections/docs/static-caching.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,13 @@ return [
389389
]
390390
]
391391
],
392-
'navigation' => 'all'
392+
'navigation' => [
393+
'links' => [
394+
'urls' => [
395+
'/*'
396+
]
397+
]
398+
]
393399
]
394400
]
395401
];
@@ -400,7 +406,7 @@ return [
400406
- “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.”
401407
- “when a term in the tags taxonomy is saved, we should invalidate those same pages”
402408
- “when the settings global set is saved, we invalidate all urls”
403-
- “when any of the navigations are saved, we invalidate all urls”
409+
- “when the links navigation is saved, we invalidate all urls”
404410

405411
You may add as many collections and taxonomies as you need.
406412

0 commit comments

Comments
 (0)