NXP-11735: do not cache JS resources when in Dev mode
NXP-11746 Prevent MimeMagic from scanning big file (and generate OoM)