New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

@contentacms/redis

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentacms/redis

Redis wrapper for ContentaJS, a drop in replacement for the LRU in-memory cache.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
5
66.67%
Maintainers
1
Weekly downloads
 
Created
Source

ContentaJS - Redis Contenta logo

This project is part of the ContentaJS project. You need to install it inside of a ContentaJS project.

Travis Coverage Documented with emdaer

Installation

In order to use Redis as your cache back-end in ContentaJS you will need to:

Install

Install this module in your ContentaJS forked project:


yarn add @contentajs/redis

Add the Redis configuration

Add the Redis configuration to your configuration files in ContentaJS, and make Redis your active cache back-end. Make sure to configure Redis with your actual host, port, and any additional options you need. Modify your config file with:

# NOTE: Append the 'redis' section under 'plugins'
applicationCache:
  activePlugin: redis # <--- ACTIVATE REDIS
  plugins:
    lru: … # You can keep existing configuration to switch back if needed.
    foo: …
    bar: …
    redis: # <--- APPEND THIS SECTION
      # Additional options for node_redis
      # http://redis.js.org/#api-rediscreateclient passed verbatim.
      host: 127.0.0.1
      port: 6379
      prefix: 'contentajs::'

Contributors

Contributors
Mateu AguilĂł Bosch

License

@contentacms/redis is MIT licensed.

Keywords

Contenta

FAQs

Package last updated on 10 Jun 2018

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