bbc/catbox-disk

Name: catbox-disk

Owner: BBC

Description: Disk storage adapter for catbox

Created: 2018-04-22 13:48:12.0

Updated: 2018-04-22 14:06:35.0

Pushed: 2018-04-22 14:06:34.0

Homepage: null

Size: 20

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

catbox-disk Build Status

Disk storage adapter for catbox.

Lead Maintainer - Andrew Hughes

Code liberally cribbed from various other adapter examples, primarily

Options

An example invocation:

t Hapi = require('hapi');
t Disk = require('catbox-disk');

t server = new Hapi.Server({
cache : [{
        name      : 'diskCache',
        engine    : Disk,
        cachePath: '/some/existing/dir',
        cleanEvery: 3600000,
        partition : 'cache'
}]

Notes

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.