Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Laravel Cache tags #486

Closed
ryanmitchell opened this issue Mar 8, 2021 · 1 comment
Closed

Support for Laravel Cache tags #486

ryanmitchell opened this issue Mar 8, 2021 · 1 comment

Comments

@ryanmitchell
Copy link

ryanmitchell commented Mar 8, 2021

It would be great to extend the Statamic Cache tag to allow a param of "tags" to be passed to allow grouping of cache resources (eg for all pages cached for a specific user). This allows the cache to be flushed as a group, rather than the whole cache.

For info:
https://laravel.com/docs/8.x/cache#cache-tags

Seems like it would be an easy addition to the Cache tag - I'm happy to work on it if it might be accepted?

@ryanmitchell
Copy link
Author

Opened a PR here: statamic/cms#3357

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

No branches or pull requests

1 participant