Closed getchenge closed 11 years ago
have a look on handlebars-runtime
Express-Handlebars is simply the glue code between Handlebars and Express. It doesn't deal with generating HTML (Handlebars does that) or sending an HTTP response (Express does that). I think you shouldn't worry about minifying HTML and instead simply gzip the response.
To gzip responses simply use the compress
middleware in Express:
app.use(express.compress());
Got it, thank u.
I don't know if express3-handlebars could compress the rendered html just as the jade does.