Static Caching invalidation not working #10413
-
I'm not sure if this is a bug or something I'm doing. I have a site using the "half" caching strategy and I noticed content changes in globals weren't being updated on the site, then I noticed "blog" post titles weren't being updated elsewhere too. Going by this documentation I added the following to my static_caching.php file: 'invalidation' => [
'class' => null,
'rules' => [
'globals' => [
'seo' => [
'urls' => [
'/*'
]
]
],
'collections' => [
'articles' => [
'urls' => [
'/*'
]
]
],
'navigation' => [
'primary' => [
'urls' => [
'/*'
]
]
]
],
], However, nothing changed. The cache still wasn't being invalidated when one of those changed. On the other hand this works: 'invalidation' => [
'class' => null,
'rules' => 'all',
], I have no idea where to go from here 💩 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
Your config looks good. Were these global changes coming from your |
Beta Was this translation helpful? Give feedback.
Thats not it then - I didnt notice you mentioning
all
worked initially so im probably sending you down the wrong path.Does your APP_URL in the .env match your staging URL?