Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can I deacrease volume of my html pages?

 
sabah noori
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,I use jasper reports in my poroject. out put s files are html format. my html pages are very volumed. how can I decrease volume of my pages. can solve my problem,if I use diffrent format such as pdf or excel files?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34681
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sabah,
Welcome to JavaRanch!

Consider using a gzip filter to compress your HTML. Since an HTML file is mostly whitespace and text, it compresses at a very good percentage. All modern browsers can uncompress automatically and you benefit from a smaller page to transfer across the internet.

PDF is much larger than raw HTML. Excel can be either larger or smaller. If it is just comma demitted text, it is smaller. If it is formatted Excel, it is larger. For pretty reports, the output is likely to be larger than the Jasper version.
 
sabah noori
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne,
Thanks for your reply.
I have another question.
my browser is internet explorer 6.
does IE6 support , If I want use gzip format?
sincerely
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34681
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. IE 6 supports the gzip format.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic