I'm trying to find a way to compress specific assets post-update on a Production server. So far, I can't find any way to do this that's even remotely simple.
Anyone has any insights/experience in doing this?
Basically, what I need to do is run a Java utility to compress CSS and JS files - the problem with JS files is that they may or might not validate (JS errors), if it doesn't validate the Java utility will throw output a message. This makes the whole idea a bit more complicated.