example/filecache.js
function Filecache(options) {
  options = options || {};

  this.directory = options.directory || path.join(__dirname, '/.cache');
  this.fresh = +options.fresh || 500000;
}
function Filecache(options) {
  options = options || {};

  this.directory = options.directory || path.join(__dirname, '/.cache');
  this.fresh = +options.fresh || 500000;
}
function Filecache ( options ) { options = options || { } ; this . directory = options . directory || path . join ( __dirname , '/.cache' ) ; this . fresh = + options . fresh || 500000 ; }
Really minimal implementation of a data cache sytem. This should not be used
in production it merely serves as an example of caching the data to speedup
the rendering of the pages.

@constructor
@param {Object} options Configuration.
@api public
Really minimal implementation of a data cache sytem . This should not be used in production it merely serves as an example of caching the data to speedup the rendering of the pages .