Use of long ids explodes html file size

I am developing a page that uses a huge table. The table has 35 columns and approximately 700 rows. A handful of my requirements include:

1) Non-paged (entire table visible at all times)

2) Fast load times

Now, my boss understands that such a large table is certain to produce a substantial amount of ascii text in the html page. Our old implementation of this page as raw html (via php) had a file size of approximately 700KB. However, creating a page using JSC/JSF produced an html file which had a size of approximately 5MB!

One of my colleagues did some quick math: by removing the ids for all but the <td> and <span> elements (for example "frm1:tbl1:trg1:119:tc115") he was able to reduce the file size by 30%!

Before anyone writes me off for having such a possibly ridiculous set of requirements for this huge table, hear me out.

Is there a way to control the generated IDs?

Any other suggestions considering my requirements above are very much appreciated. Thanks.

[1032 byte] By [jeff.daily] at [2007-11-26 11:23:18]
# 1

I filed a RFE against this issue a few days ago. My observation is that simple namespace compression yielded 25%+ improvements in the html size. My suggestion to sun was to try and adapt an obstuficator (sp?) to eliminate some of this redundancy.

Observation: Apache mod_deflate reduces html sizes to 10%-20% of the original. I know it's not the right place to fix the problem but it's made my app usable for now. Here are my mod_deflate logs:

"POST /docman/faces/logonPage.jsp;jsessionid=08BCD32AE57D9FF79ADB3FEDF523FD50 HTTP/1.1" 3108/20772 (14%)

"POST-/myHomePage.jsp HTTP/1.1" 2887/15905 (18%)

"POST -/dfrPage.jsp HTTP/1.1" 6828/57471 (11%)

"POST -/dfrReviewPage.jsp HTTP/1.1" 1458/5842 (24%)

"POST -/logonPage.jsp HTTP/1.0" 3110/20677 (15%)

"POST -/myHomePage.jsp HTTP/1.0" 2883/15797 (18%)

"POST -/dfrPage.jsp HTTP/1.0" 6824/57363 (11%)

yossarian at 2007-7-7 3:38:42 > top of Java-index,Development Tools,Java Tools...