Sometimes when I load my page it simply does not render, it does not give any errors, in fact the client gets the proper response from the server (with the required static content), but I see a blank page. If I try to inspect an element on the page then everything shows up properly. I have the following middleware configuration, but I don't think that the problems are here: 

```
App.app.set('views', App.appPath("app/views"))
App.app.set('view engine', 'jade');
App.app.set('view options', {
  pretty: env === 'development'
})
App.app.locals({
  constants: App.util('htmlConstants')
})

// Middlewarez
App.app.use(express.logger('dev'))
App.app.use(express.compress())
App.app.use(express.bodyParser())
App.app.use(express.methodOverride())
App.app.use(appCookieParser)
App.app.use(express.session({
    store: appRedisStore
}))
App.app.use(require('stylus').middleware(App.appPath('public')))
App.app.use(App.app.router)

if (App.env === 'development') {

App.test = function(path) {
    return App.require("app/test/" + path)
}

 App.app.use(express.static(App.appPath('public')))
} else {
 App.app.use(express.static(App.appPath('public')), {
    maxAge: settings.oneDay
})
}

App.app.use(function(err, req, res, next) {
  console.log('in error handler')
  console.log(err.message)
  next(err)
});
App.app.use(express.errorHandler());

```