leajs-cache
v0.1.0
Published
handles caching of resources
Downloads
321
Readme
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.