how can I deacrease volume of my html pages?

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?

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.