-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Cache] Redis Adapter wrongly purpose a compression option #15050
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
Comments
Thank you for this issue. The
No, but it may have lost compression upgrading from 4.3 to 4.4. Also note that this is a "Redis cache" and not a "Redis store". A cache can always be calculated and will never store something valuable. |
Hi @Nyholm, I upgraded my app 4.1 => 4.2 => 4.3 => 4.4 => 5.0 => 5.1. So in a certain time I had the compression working then not. I've issue with high redis bandwidth right now. I assumed I had a compression knowing the parameter and having redis correctly installed. But I saw that the cached value was plain php serialized data, no binary. I unrolled everything and voila. |
Interesting. Will the
|
That's exactly what I discovered and that I will try soon. |
Btw, The |
|
This PR was submitted for the 5.x branch but it was squashed and merged into the 5.2 branch instead. Discussion ---------- [Cache] Adding about marshallers This is related to #15050 It will add information about serialisation, encryption and compression. Commits ------- 126cf24 [Cache] Adding about marshallers
Since symfony/symfony#34133, the
compression
is gone but it's still documented here https://symfony.com/doc/current/components/cache/adapters/redis_adapter.html#available-options and marked as enabled by default.I'm still trying to figure if my app lost the compression by upgrading to 4.4 / 5.x.
The text was updated successfully, but these errors were encountered: