šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

cacheflow

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheflow

0.5.0
Rubygems
Version published
Maintainers
1
Created
Source

Cacheflow

Colorized logging for Memcached, Redis, and Valkey

Works with the Rails cache, as well as Dalli and Redis clients directly

Build Status

Installation

Add this line to your application’s Gemfile:

gem "cacheflow", group: :development

When your log level is set to DEBUG (Rails default in development), all commands to Memcached, Redis, and Valkey are logged.

Features

To silence logging, use:

Cacheflow.silence do
  # code
end

To silence logging for Sidekiq commands, create an initializer with:

Cacheflow.silence_sidekiq!

Data Protection

If you use Cacheflow in an environment with personal data and store that data in Memcached, Redis, or Valkey, it can end up in your app logs. To avoid this, silence logging for those calls.

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

  • Report bugs
  • Fix bugs and submit pull requests
  • Write, clarify, or fix documentation
  • Suggest or add new features

To get started with development:

git clone https://github.com/ankane/cacheflow.git
cd cacheflow
bundle install
bundle exec rake test

FAQs

Package last updated on 06 May 2025

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