makesites / brisk

Automation for Express.js #express.js #javascript
3 stars 1 forks source link

Save folder structure #45

Closed tracend closed 11 years ago

tracend commented 11 years ago

Constant look up on the filesystem may be wearing down the hardware and slow down the response.

As the (app) filesystem doesn't change after the launch it would be best to create a copy of the combined directory structure - which includes all controllers/views from brisk and its modules.

That way many lookups could be done against the object saved in memory (instead of the filesystem).

This information could be saved under req.site.dir

tracend commented 11 years ago

Basic file list now available. Further improvements will be made as part of other issues.