WebPagetest Forums
jsmin and conditional comments - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: jsmin and conditional comments (/showthread.php?tid=438)

jsmin and conditional comments - blepore - 11-18-2010 05:27 AM

We use the HTML5shiv to enable HTML5 elements in IE < 9. When running a test on a page using this PageSpeed will tell you that 100% of the script can be eliminated, presumably jsmin isn't recognizing that this is within a conditional comment and thus thinks the script can be compressed.

Would it be possible to get WebPageTests' PageSpeed updated to run a version of JSMin that doesn't have this issue?

RE: jsmin and conditional comments - pmeenan - 11-18-2010 05:32 AM

Your best bet would be to file a bug report on the Page Speed issue tracker: http://code.google.com/p/page-speed/issues/list

Once they update the SDK then I'll be able to pick it up.