2
4

1 回答 1

3

I had this problem too. The problem seems to be caused by the server gzipping the response incorrectly. (With mod_deflate of course).

Disabling mod_deflate through .htaccess resolved the issue for me - note that you can do something like this to disable per filetype:

SetEnvIfNoCase Request_URI \.*\.js\.php$ no-gzip dont-vary

Strangely, I have two supposedly identical Ubuntu VMs - one where everything runs perfectly, and one where I need to disable mod_deflate. If anyone can figure why this is happening, I'd be interested to know!

于 2012-07-31T13:30:05.760 回答