leajs-cache

0.1.0 • Public • Published

leajs-cache

Plugin of leajs.

Handles caching of resources.

leajs.config

module.exports = {

  // …

  // Maximum filesize to cache
  // Default: if inProduction then 65536 else false
  cache: null, // [Number, Boolean]

  // default file to save cache on exit. Set False to disable.
  // types: [String, Boolean]
  cacheFile: "./.leajs-cache.json",

  // …

}

License

Copyright (c) 2018 Paul Pflugradt Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i leajs-cache

Weekly Downloads

102

Version

0.1.0

License

MIT

Unpacked Size

9.11 kB

Total Files

4

Last publish

Collaborators

  • paulpflug