YUI Compressor + gzip causes Illegal Character error in jQuery
- by lo_fye
When I minify jquery using YUI compressor, it works fine.
When I then add gzip compression (and serve this version via mod rewrite), the gzipped version throws this error:
illegal character in jquery.min.js on line 1
Line 1 is:
???????M???????????s?8?0???!sz?dKr?=?
This results in a "jquery is not defined" error.
I am using the following…