2011/12/6 Poetro <[email protected]>: > 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/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
