Skip to content

Add section default events & invalidate static cache#603

Merged
duncanmcclean merged 2 commits into
7.xfrom
section-defaults-invalidation
Jun 12, 2026
Merged

Add section default events & invalidate static cache#603
duncanmcclean merged 2 commits into
7.xfrom
section-defaults-invalidation

Conversation

@duncanmcclean

@duncanmcclean duncanmcclean commented Jun 12, 2026

Copy link
Copy Markdown
Member

This pull request adds events for when collection/taxonomy section defaults are updated, similar to the SiteDefaultsSaved event we have for site defaults.

This PR also ensures that the configured URLs are invalidated when section defaults are updated. It will use the existing collections and taxonomies invalidation rules.

Fixes #595

@duncanmcclean duncanmcclean changed the title Add events for section defaults updates Implement section default events & invalidate static cache Jun 12, 2026
@duncanmcclean duncanmcclean changed the title Implement section default events & invalidate static cache Add section default events & invalidate static cache Jun 12, 2026
@duncanmcclean
duncanmcclean merged commit 62df18a into 7.x Jun 12, 2026
14 checks passed
@duncanmcclean
duncanmcclean deleted the section-defaults-invalidation branch June 12, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Saving section defaults does not clear static cache

1 participant