node-http-server
/src/cache.js |
---|
@@ -28,6 +28,7 @@ |
EventEmitter.call(this); |
const self = this; |
// Read the resource and cache or not depending on configuration settings. |
fs.stat(resource, (error, stats) => { |
var expires = 0; |
Object.keys(self.config.site.cache).forEach((key) => { |