Skip to content

Conversation

@mrauer
Copy link

@mrauer mrauer commented Apr 6, 2025

This PR adds a new DisableCAS option to the Client struct. When set to true, the client uses the get command instead of gets when retrieving items, which prevents fetching CAS IDs.

This is useful for environments where CAS is not needed or not supported.

Also updated the README and getFromAddr to reflect this behavior.

extra line
@mrauer mrauer force-pushed the mrauer/disablecas branch from 9eb14d3 to 4872a07 Compare April 6, 2025 16:54
@mrauer mrauer mentioned this pull request Apr 6, 2025
@nhkhang
Copy link

nhkhang commented Jun 20, 2025

Hi all, could someone please help review this PR ? We really need this to use the library with mcrouter. Thanks!

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