Skip to content

[9.x] Add colon to database cache driver prefix key #43123

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

Closed
wants to merge 4 commits into from
Closed

[9.x] Add colon to database cache driver prefix key #43123

wants to merge 4 commits into from

Conversation

shatterproof
Copy link
Contributor

This PR makes the database cache driver prefix key consistent with the other drivers by adding a colon to the end of it, separating the prefix from the key name like so: laravel_cache:key.

This solves the issue presented by laravel/laravel#5817 in a more efficient manner by targeting the fix only on the database driver rather than adding an excessive underscore to the prefix keys across all of the cache drivers.

Also see laravel/laravel#5938 for the PR that ties into this one.

@taylorotwell
Copy link
Member

I don't want to make a breaking change here.

@shatterproof shatterproof deleted the patch-1 branch July 11, 2022 20:36
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