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

[5.2] Cache Command - Option to remove tagged items #13927

Merged
merged 2 commits into from
Jul 18, 2016
Merged

[5.2] Cache Command - Option to remove tagged items #13927

merged 2 commits into from
Jul 18, 2016

Conversation

KennedyTedesco
Copy link
Contributor

To entirely remove the default store:

php artisan cache:clear

Optionally you can set up the store name to be removed:

php artisan cache:clear myFooStore

But, if you would like just remove some tagged items:

php artisan cache:clear --tags=foo

Or items of many tags:

php artisan cache:clear --tags=foo,bar

To my applications this is very useful.

@KennedyTedesco KennedyTedesco changed the title [5.2] Cache Command - Option to optionally remove tagged items [5.2] Cache Command - Option to remove tagged items Jun 9, 2016
@GrahamCampbell
Copy link
Member

Probably best going to 5.3 IMO.

@KennedyTedesco
Copy link
Contributor Author

@GrahamCampbell Are you sure? This works fine on 5.2.

@GrahamCampbell
Copy link
Member

Don't retarget please. It's just a comment for Taylor.

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.

3 participants