Skip to content

[6.x] Ensure application cache honours static_cache store - #15045

Merged
jasonvarga merged 1 commit into
statamic:6.xfrom
ryanmitchell:fix/half-cache-store
Jul 21, 2026
Merged

[6.x] Ensure application cache honours static_cache store#15045
jasonvarga merged 1 commit into
statamic:6.xfrom
ryanmitchell:fix/half-cache-store

Conversation

@ryanmitchell

Copy link
Copy Markdown
Contributor

createApplicationDriver() in src/StaticCaching/StaticCacheManager.php resolved $this->app[Repository::class] directly, bypassing cacheStore().

So the application static caching strategy always used the default cache store, ignoring a configured static_cache store.

This PR fixes that.

@jasonvarga
jasonvarga merged commit b581e83 into statamic:6.x Jul 21, 2026
20 checks passed
@ryanmitchell
ryanmitchell deleted the fix/half-cache-store branch July 21, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants