Skip to content

lea-js/leajs-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.