New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

simple_redis_store

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple_redis_store

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Simple Redis Store for ActiveSupport::Cache

simple_redis_store provides a lightweight Redis cache store for ActiveSupport::Cache.

Prerequisites

simple_redis_store relies on Redis being installed and running.

Mac users can install Redis via brew install redis.

Everyone else, check the package manager of your operating system.

Installation

Add this line to your application's Gemfile then run bundle:

gem 'simple_redis_store'

Usage

Ruby on Rails

# config/environments/production.rb
config.action_controller.perform_caching = true
config.cache_store = :simple_redis_store

Standalone

ActiveSupport::Cache.lookup_store :simple_redis_store

TODO

  • Implement multi key retrieval (def read_multi)
  • Improve configuration support
  • Tests

(c) 2012 Kieran Pilkington, release under the MIT license

FAQs

Package last updated on 08 Oct 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc