Open
Description
Bug description
I'm having issues to invalidate the cache for two of my multisite installations. Whenever I save a field inside that global, no page is getting invalidated.
How to reproduce
In static_caching.php
, I have tried multiple configs like the following, but none were working:
'globals' => [
'brand' => [
'urls' => [
'/*',
]
],
or
'globals' => [
'brand' => [
'urls' => [
'*',
]
],
or
'globals' => [
'brand' => [
'urls' => [
env('APP_URL') . '/*',
]
],
and even hardcoded the url like so:
'globals' => [
'brand' => [
'urls' => [
'http://domain.test/*',
]
],
My sites.php looks like this:
'sites' => [
'de' => [
'name' => 'Deutsch',
'locale' => 'de_CH',
'url' => env('APP_URL') . 'de/'
],
'en' => [
'name' => 'English',
'locale' => 'en_GB',
'url' => env('APP_URL') . 'en/'
],
],
and in my .env, I set the following: APP_URL=http://domain.test/
Logs
No log messages are getting generated when saving the mentioned global.
Environment
Statamic 3.4.5 Pro
Laravel 8.83.27
PHP 8.2.3
Stache Watcher Disabled
Static Caching half
appswithlove/statamic-one-click-content-translation 3.4.0
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response