var fs = require('fs'),
    path = require('path'),
    middleware = require('express');

server = Bones.Server.extend({});

server.prototype.initialize = function(app) {
    app.directories.forEach(function(dir) {
        var pkg = JSON.parse(fs.readFileSync(path.join(dir, 'package.json'), 'utf8'));
        this.use('/assets/' + pkg.name, middleware['static'](path.join(dir, 'assets')));
    }, this);
};

@@ -80,16 +80,65 @@
 xpress')
+,%0A    env = process.env.NODE_ENV %7C%7C 'development'
 ;%0A%0Aserve
@@ -405,16 +405,29 @@
 tatic'%5D(
+%0A            
 path.joi
@@ -442,16 +442,99 @@
 assets')
+,%0A            %7B maxAge: env === 'production' ? 3600 * 1000 : 0 %7D // 1 hour%0A        
 ));%0A    

Set maxAge for static assets to 1 hour when in production.