New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@webtanzhi/koa-redis-cache

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webtanzhi/koa-redis-cache

Koa Cache Plugin Using redis as Cache

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
10
Maintainers
1
Weekly downloads
 
Created
Source

缓存中间件

  const koaRedisCache = require('@webtanzhi/koa-redis-cache');
  koa.use(koaRedisCache({redisOption: { port: 6379, host: '127.0.0.1' }, paths: ['/', '/404], expireSeconds: 3000}))

Keywords

koa

FAQs

Package last updated on 01 Nov 2019

Related posts