GetResource.ashx handler has this method
private static void ProcessJSFileRequest(HttpContext context)
{
// Check whether to use minification
bool useMinification = false;
if (CMSAppBase.ConnectionAvailable)
{
useMinification = ScriptHelper.ScriptMinificationEnabled;
}
ProcessFileRequest(context, JS_FILE_ARGUMENT, JS_FILE_EXTENSION, useMinification);
}
What I've noticed on Azure though is that the JS files are not being minified and looking at the line
ScriptHelper.ScriptMinificationEnabled
always returns false if the application is running on Azure, even if the all the minification settings are set to true.
I could just override this and always minify, but wondering why the minification is false for Azure?