One of the main problems for those who come from a MySQL-based development background is to stop forcing MongoDB to work like MySQL. MongoDB has other features that are really handy when it comes to build a site search engine in Node.js.
Minification on the fly is one of the available options in a Node.js application but it's not the best choice if we consider carefully the actual impact of our implementation.