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 ProLaravel 8.83.27PHP 8.2.3Stache Watcher DisabledStatic Caching halfappswithlove/statamic-one-click-content-translation 3.4.0
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response
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:or
or
and even hardcoded the url like so:
My sites.php looks like this:
and in my .env, I set the following:
APP_URL=http://domain.test/Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
runtime (new)
Additional details
No response