Chrome chokes on gzipped JS
Chrome chokes on gzipped JS
- Subject: Chrome chokes on gzipped JS
- From: Ramsey Gurley <email@hidden>
- Date: Tue, 23 Feb 2010 17:30:24 -0500
Just a heads up for any of you guys supporting Chrome out there. If
you're using gzip response compression, chrome chokes on the gzipped
JS files. Specifically, it fails saying
Uncaught SyntaxError: Unexpected token ILLEGAL
It indicates failure on the last line of each script. And in some
cases, two lines past the end of file on my html. In my properties,
# GZip Responses
er.extensions.ERXApplication.responseCompressionEnabled=true
er.extensions.ERXApplication.responseCompressionTypes=("application/x-
javascript", "application/xhtml+xml", "application/xml")
Changing that to
# GZip Responses
er.extensions.ERXApplication.responseCompressionEnabled=true
er.extensions.ERXApplication.responseCompressionTypes=("application/
xhtml+xml", "application/xml")
Makes the failing app work again. :-/ Mac version of Chrome I
downloaded today (5.0.307.9 beta). I didn't have a Windows copy to try
this on.
Ramsey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden