statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
30 stars 1 forks source link

Ability to configure the Stache cache store #1001

Closed jacksleight closed 1 week ago

jacksleight commented 1 year ago

I always clear the application cache on deploy because code changes may affect cached data, and that means all Stache data is also lost. But a lot of the time those changes don't impact anything in the Stache, and clearing it introduces a big overhead when it's rebuilt, particularly on really big sites.

It would be useful if you could configure which cache store the Stache uses, that way you could set up a separate one just for the Stache that doesn't get cleared when clearing the default application cache.