Why do I lose data when I minify JS and CSS with GZip?

If I understand the scenario, Vinay is correct that the 6k is being compressed. However, why use custom code to gzip your content? Why not just turn on static and dynamic compression in IIS and let IIS do the work?

Furthermore, use a library like http://RequestReduce.com that will automatically combine and minify your css and js on the fly with no code and possibly no config as well as sprite your images.

Isn't compressing scripts is the idea here - so gzip stream would take few bytes and will compressed them - hence the resultant data will be of small size than input data. So your 6000 bytes are getting compressed into 2334 bytes.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions