Dear Lazyweb,
Is it wise to gzip static resources (javascript and CSS) before sending them to client?
The opinion of Internet seems to be divided
- GZip decompression takes too much time at the client end and thus it is not wise (latency at the clients end)
- Bandwidth save is enough to counter the decompression latency
So if we put this to context of
- Compressed and merged CSS and Javascript files of Plone
- Assuming the users are using the state of the art browsers: Safari 4, Chrome, Firefox 3.6 and IE8
- Connections are faster than 384 Kbit/s
…and forget…
- Recompressing images (GIF, PNG and JPEG) using GZip as there is no notable save
should I enable GZip compression on the front-end server (Apache) with disk cache enabled?
Of course, I could do testing and timing myself, but I’ll simply ask for your experiences first before investing few hours for this. Also, hints how to measure how fast GZip decompression is, are welcome.
Thank you.
Subscribe to RSS feed Follow me on Twitter Follow me on Facebook Follow me Google+