ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Static Cache: Ability to invalidate `all` for specific content types

Open jacksleight opened this issue 3 years ago • 0 comments

At the moment static cache invalidation on save can either be extremely general using all, or very specific by naming individual collections, navigations etc. It would be useful if you could have general invalidation for things like globals and navigations, but still have specific control over collections and taxonomies.

Perhaps with an asterisk to mean "all navigations":

'navigation' => [
    '*' => [
        'urls' => [
            '/*'
        ]
    ]
]

Or maybe even just:

'navigation' => 'all'

jacksleight avatar Sep 12 '22 09:09 jacksleight