6xhhs / mobile-rss-reader

Automatically exported from code.google.com/p/mobile-rss-reader
0 stars 0 forks source link

gzip #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
If would be good if the client sent the http header 
Accept-Encoding: gzip
and could un-gzip any server response. Reduces bandwith and traffic costs

RSSServers will only gzip if the client is sending this header

/JoP

Original issue reported on code.google.com by peter.n....@gmail.com on 19 Mar 2009 at 10:42

GoogleCodeExporter commented 8 years ago
Good idea. There even seems to be a GZip library for J2ME platform. Although 
this
might slow down the feed parsing since mobile devices doesn't have that much
processing power.
http://www.java4ever.com/index.php?section=j2me&project=apime&menu=download

Original comment by tlaukka...@gmail.com on 19 Mar 2009 at 11:22

GoogleCodeExporter commented 8 years ago
You are correct about the CPU cost of gunzipping so maybe you should put
this behind a configuration?

My server: http://pilot.prismakonsult.se/wapmet/rss.asp will send you approx
25 kb RSS feed unzipped but if you send the Accept-Encoding gzip header the 
chunck 
is only 4 kb

Original comment by peter.n....@gmail.com on 19 Mar 2009 at 8:06

GoogleCodeExporter commented 8 years ago
Yes, this should be configurable since bandwidth and traffic costs aren't a 
problem
to those who have unlimited data plan in mobile phones.

Original comment by tlaukka...@gmail.com on 19 Mar 2009 at 8:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This will be in either 1.11.5 or 1.12 smartphone version.

Original comment by ibunto...@gmail.com on 19 Jan 2011 at 3:47