Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 503 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 503 Bytes

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.