track-server-cache-lru-cache

0.0.4 • Public • Published

TrackServerCacheLRUCache

LRU Cache for track-server.

Build Status

Installation

npm

npm install track-server-cache-lru-cache

Usage

const Config   = require('track-server-renderer/lib/config');
const LRUCache = require('track-server-cache-lru-cache');


Config.configure((c) => {
  c.cache = new LRUCache({max: 100, maxAge: 30 * 60 * 1000});
});

Readme

Keywords

none

Package Sidebar

Install

npm i track-server-cache-lru-cache

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

2.84 kB

Total Files

8

Last publish

Collaborators

  • alfa-jpn