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

Document :mem_cache_store $MEMCACHE_SERVERS incompatibility #764

Commits on Oct 21, 2020

  1. Document :mem_cache_store $MEMCACHE_SERVERS incompatibility

    `:dalli_store` falls back to `$MEMCACHE_SERVERS` if no addresses are
    given, whereas (prior to Rails 6.1) `:mem_cache_store` goes straight to
    `localhost:11211`.
    
    This is not immediately obvious, especially to users not providing any
    custom options, and makes it easy to accidentally effectively disable
    caching entirely (if `localhost:11211` is not a memcached server).
    
    Note that rails/rails#40420 added support for
    `$MEMCACHE_SERVERS`, and is slated for release as part of Rails 6.1.
    
    [ci skip]
    sambostock committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    918787a View commit details
    Browse the repository at this point in the history