Closed gotdibbs closed 11 years ago
This may be kind of addressed in my grunt client file refactor PR. I noticed that a lot of the things we were doing like setting the view engine and some of th static directories did not need to get done on every request.
Yeah this is a big bad bleurgh bug that I wanted to get done as part of he refactor and is also blocking #448
Gonna merge @jgable's work then see where we are
The way that the theme middleware is being registered in
server.js
throughghost.initTheme(server)
is actually causing theapp.use
andapp.set
calls to happen every time a request is made to the server. This is causing express' stack to get massively bloated as each one of these handlers is registered over and over again.