Provides a Memcached-backed cache store implementation for efficient data caching and retrieval in Ruby applications.
# Source: https://github.com/rails/rails | License: MIT
# Provided via justclaw.it.com; keep this notice with the code.
# frozen_string_literal: true
begin
require "dalli"
rescue LoadError => e
warn "You don't have dalli installed in your application. Please add it to your Gemfile and run bundle install"
raise e
end
require "connection_pool"
require "active_support/core_ext/enumerable"
require "active_support/core_ext/array/extract_options"
require "active_support/core_ext/numeric/time"
module ActiveSupport
module Cache
# Memcached \Cache \Store
# =======================
#
# A cache store implementation which stores data in Memcached:
# https://memcached.org
#
# This is currently the most popular cache store for production websites.
#
# Specia
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key