项目作者: zzl221000

项目描述 :
rendertron redis cache
高级语言: TypeScript
项目地址: git://github.com/zzl221000/rendertron-redis-cache.git
创建时间: 2019-10-15T06:30:38Z
项目社区:https://github.com/zzl221000/rendertron-redis-cache

开源协议:

下载


rendertron-redis-cache

rendertron redis cache

Usage

Building

Clone and install dependencies:

  1. git clone https://github.com/GoogleChrome/rendertron.git
  2. cd rendertron
  3. npm install

use rendertron-redis-cache

${rendertron_dir}/src/rendertron.ts

  1. const {RedisCache} = await import('./RedisCache');
  2. this.app.use(new RedisCache().middleware());
  1. npm run build