Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Server file compression


fside - 3:44 pm on Mar 11, 2008 (gmt 0)


As for the original OP about IIS, I wonder if I'm just going to give up trying to figure it out.

I just setup on a new Apache hosted server. And I just wanted to note that I had made a mistake in the .htaccess commands. I never did get that .js for .gz rewrite substitution to work. That would have been ideal. But the deflate did work. And the addevent deflate also worked. The host was just using a different CONTENT-TYPE string or spec for javascript files. It was calling them, "application/javascript".Once I changed over to that, gzip started to work.

The problem I have now is - chunking. The response headers for the .js show - gzip. That's great. But for some reason, the time it takes to get the .js is longer than it takes for images files which are about the same size or larger. Something about the chunking. I reduced the .js file to under 50K. It didn't make any difference. The response was still coming back - chunk. And it was still hanging up a bit waiting for the transfer. I don't know.


Thread source:: http://www.webmasterworld.com/php/3595628.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com