I posted this on stack overflow but it was suggested I may have more luck here:
I have not used deflate before to encode web pages so this is new ground for me but when I look at nework traffic in ff my all.js file is now 117kb from 427kb so I seem to have it working here. But there is no change in IE9. My response header says Content-Encoding: gzip in FF but not IE9
here is my .htaccess:
Request Header for all.js in IE9:
Response Header for all.js in IE9:
Request Header for all.js in Firefox:
Accept: */* Accept-Encoding: gzip, deflate Accept-Language: en-gb,en;q=0.5 Cache-Control: no-cache Connection: keep-alive Cookie: DELETED - this should not be sent and isnt sent with IE Host: static.alexchapman.co.uk Pragma: no-cache Referer: http://www.alexchapman.co.uk/ User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Response header for all.js in Firefox:
To be clear this is not just happening with all.js - I have used this as an example since it is the biggest file that will benefit from compression. Any suggestions as to what I am doing wrong would be much appreciated.
My hosting provider has got back to me and said that they can confirm that gzip and deflate are both enabled and working on my site, they have said that The issue with Internet Explorer is specific to that browser so I recommend trying compatibility mode as this is not caused by our servers.
I know of a compatability view in IE and this is supposed to help render old sites properly so I dont know what they are on about here and I can confirm this makes no difference to the file compression.