Skip to content

[Cache] Remove compression option from Redis and Memcache #15052

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

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Mar 2, 2021

This option was removed in 4.4 because it didn't work.

See symfony/symfony#34133

This will fix #15050

@Nyholm Nyholm changed the base branch from 5.x to 4.4 March 2, 2021 14:34
@bastnic
Copy link
Contributor

bastnic commented Mar 2, 2021

Thanks @Nyholm

@bastnic
Copy link
Contributor

bastnic commented Mar 2, 2021

Maybe mention the DeflateMarshaller way somewhere?

BTW I've a doubt about memcache config also talking about compression.

@Nyholm
Copy link
Member Author

Nyholm commented Mar 2, 2021

Maybe mention the DeflateMarshaller way somewhere?

Sure!

BTW I've a doubt about memcache config also talking about compression.

You can use DeflateMarshaller for Memcache too. Or what are your doubts?

@bastnic
Copy link
Contributor

bastnic commented Mar 2, 2021

I've a doubt about the memcache adapter documentation also talking about compression and I guess that if there is a global marshaller then individual adapter should not have compression option?

@Nyholm
Copy link
Member Author

Nyholm commented Mar 2, 2021

FYI #15054

@Nyholm
Copy link
Member Author

Nyholm commented Mar 2, 2021

Oops, You are correct!

Thank you for noticing. I've updated the PR

@Nyholm Nyholm changed the title [Cache] Remove Redis option compression [Cache] Remove compression option from Redis and Memcache Mar 2, 2021
@javiereguiluz
Copy link
Member

I wasn't aware of this! Thanks for removing these outdated docs.

@javiereguiluz javiereguiluz merged commit 81e245b into symfony:4.4 Mar 5, 2021
@Nyholm Nyholm deleted the redis-compression branch March 5, 2021 09:44
@Nyholm
Copy link
Member Author

Nyholm commented Mar 5, 2021

Thank you for the reviews and the merge!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Cache] Redis Adapter wrongly purpose a compression option
5 participants