Hi, I'm using the full static page cache options with some invalidation rules based on the examples in the docs. But when saving an entry in the collection 'articles', the cache of the homepage, articles and acticles/categories isn't cleared. Is there a mistake in my code or is this a bug?
'invalidation' => [
'class' => null,
'rules' => [
'collections' => [
'articles' => [
'urls' => [
'/articles',
'/articles/categories/*',
'/',
]
],
],
'taxonomies' => [
'categories' => [
'urls' => [
'/articles',
'/articles/categories/*',
'/',
]
]
]
]
]
Cheers,
Joeri
Hi, on my installation even the 'all' Rule does not invalidate the cache. Maybe it麓s completely broken right now? 3.0.0 Beta 23
Can confirm still an issue on beta 28
Can also confirm this, either with "half" or "full" static caching strategies, both when using 'rules' => 'all' or trying to invalidate other pages (besides the one currently being saved) using by-collection rules (beta 28)
What QUEUE_DRIVER do you all have set in your env/config files?
The invalidation logic runs a queue job, so if your queue driver is set to anything other than sync, you may need further queue listener/worker configuration. Or if it's set to the null driver, I think it discards the job altogether.
Its standard out of the box config in my case (beta 33):


I do have the same problem. Nothing happens. Not that of a big deal though for smaller sites that don't get updated that often, but even more severe for others. Hope this will be fixed soon.
Most helpful comment
Can confirm still an issue on beta 28