2011/12/6 Poetro <poe...@gmail.com>: > Create a middleware. If the request is for a JS file compress it with > Uglify-js or similar, and then serve the compressed files instead. > Look at the Connect/Express middlewares, there might even be one that > does this for you.
There you have it https://github.com/JakeWharton/uglify-js-middleware -- Poetro -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non-Google archive, visit here: http://www.mail-archive.com/jsmentors@googlegroups.com/ To unsubscribe from this group, send email to jsmentors+unsubscr...@googlegroups.com