Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Update static-caching.md" #1397

Merged
merged 1 commit into from
Jul 4, 2024
Merged
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
10 changes: 8 additions & 2 deletions content/collections/docs/static-caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,13 @@ return [
]
]
],
'navigation' => 'all'
'navigation' => [
'links' => [
'urls' => [
'/*'
]
]
]
]
]
];
Expand All @@ -400,7 +406,7 @@ return [
- “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.”
- “when a term in the tags taxonomy is saved, we should invalidate those same pages”
- “when the settings global set is saved, we invalidate all urls”
- “when any of the navigations are saved, we invalidate all urls”
- “when the links navigation is saved, we invalidate all urls”

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

Expand Down