0.1.0 • Published 6 years ago

leajs-cache v0.1.0

Weekly downloads
103
License
MIT
Repository
github
Last release
6 years ago

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.