To gzip or not to gzip CSS and Javascript?

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+

Could not open a connection to your authentication agent on Ubuntu 9.10 Linux

I just run into this when tried to enable Github SSH to perform git push.

The workaround is to run command

`eval ssh-agent`

Which sets series on environment variables making ssh-add to work.

I don’t know why this doesn’t work anymore – I am quite sure it worked on earlier Ubuntu versions out of the box.

Related bug report.

Plone Go Mobile – preparing a release

Enter the mobile world with Plone! Go mobile for Plone add-on is now “feature complete” and we are preparing a release.

For Easter holidays we bring you a trunk release instructions. Note: you might want to change checkout protocol from “https” to “http” in the buildout cfg. The most able and most inpatient might want to test this now when it is hot.

There exists three production site where you can see the product in action

See the feature set which will beat crap out of other mobile CMSs.

What’s missing for the real release is

  • packaging it as a eggs
  • making microsite
  • clean up documentation (YES. It has documentation since day 0)

It has not been tested on Plone 4.

Thanks Karl Horak for bringing up the issue.

Meet mFabrik @ Internet Expo 2010 Helsinki

If you can’t see the video above, please go to mfabrik.fi.

mFabrik will participate in INTERNET EXPO which is the biggest “Internet fair event” in Finland. Topics include e.g. social media, sematic web and IT security. Many major Internet companies and their products will be present.

Our expo representatives, as in the video above, will gladly help you to tell about mobile and CMS solutions.

You can get free tickets using the code provided on mfabrik.fi page.