Skip to content

[5.x] Allow configuring the Stache's Cache Store - #10303

Merged
jasonvarga merged 7 commits into
statamic:5.xfrom
riasvdv:stache-cache-store
Jun 24, 2024
Merged

[5.x] Allow configuring the Stache's Cache Store#10303
jasonvarga merged 7 commits into
statamic:5.xfrom
riasvdv:stache-cache-store

Conversation

@riasvdv

@riasvdv riasvdv commented Jun 14, 2024

Copy link
Copy Markdown
Contributor

This allows configuration of which Cache store the Stache uses.

We run Statamic alongside a multitenant application where we prefix the default cache, this however causes the Stache to create cache entries for every tenant which is unnecessary.

Configuring the Stache to use a different store would solve this.

Closes statamic/ideas#1001.

@jacksleight

Copy link
Copy Markdown
Contributor

Will close statamic/ideas#1001

@riasvdv
riasvdv marked this pull request as ready for review June 14, 2024 13:34
Comment thread src/Facades/Stache.php Outdated
@riasvdv
riasvdv force-pushed the stache-cache-store branch from a2d3a1c to 7817448 Compare June 22, 2024 19:34
@jasonvarga
jasonvarga merged commit fa108ea into statamic:5.x Jun 24, 2024
@riasvdv
riasvdv deleted the stache-cache-store branch June 25, 2024 06:39
duncanmcclean added a commit to statamic/statamic that referenced this pull request Aug 7, 2024
duncanmcclean added a commit to statamic/statamic that referenced this pull request Aug 7, 2024
* Allow configuring the Stache's Cache Store

Related: statamic/cms#10303

* Ability to disable CP authentication

Related: statamic/cms#8960

* Display custom logo as plain text

Related: statamic/cms#10350

* Track sites.yaml path in git integration config

Related: statamic/cms#10463

* Add ability to specify the queue connection on static:warm command

Related: statamic/cms#8634
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.

Ability to configure the Stache cache store

4 participants