jabsorb on an iPhone and other low bandwidth connections

0 views
Skip to first unread message

arthur...@gmail.com

unread,
Sep 27, 2007, 10:55:34 PM9/27/07
to jabsorb-user
Some new features within jabsorb 1.1 allow things to run quite a bit
nicer on low bandwidth connections.

jabsorb runs great on an iPhone. It's pretty slick and fast too!

The GZIP compression now built into JSONRpcServlet can compress
typical JSON response sizes down to a tenth of the size which makes a
big difference over an iPhone that is running on the AT&T Edge
network. All this is completely transparent to your web app.

Also, if you run on Jetty and compress and gzip your static JavaScript
(see http://compressorrater.thruhere.net) (also gzip your .CSS
and .HTML) you'll get another large bandwidth savings on all your
static content.

The jsonrpc-min.js was created with the YUI compressor (http://
www.julienlecomte.net/blog/2007/08/13/introducing-the-yui-compressor/)
within the compressorrater and it passes all unit tests as well. I
recommend using this compressor. (Again, see the compressorrater for
a comparison of all the various popular JavaScript compressors)

The jabsorb 1.1.1 minimal release build includes a compressed
jsonrpc.js (jsonrpc-min.js) and gzipped versions too that can be
plopped into your web app for the instant bandwidth savings. If you
are using Jetty, the application server automatically detects static
resources that have a .gz extension and serves them up gzipped
compressed in place of requests for the regular resource.

Gzip compression has been a web standard for many years and is a
typical scheme used to get things running faster over the web.

Also check out Yslow (http://developer.yahoo.com/yslow/) for a good
bit more information on GZIPping your content as well as other
techniques to make your web apps scream.

enjoy!

Reply all
Reply to author
Forward
0 new messages