Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compressing JSP on web server and Uncompressing at client browser

 
sathish kannan
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I had got an interesting problem from my customer:


Problems Encountered:

Due to the network constraints on our North America users� side, they frequently complaint the slowness of our system page loading.

But the challenge is of our existing users have already got used to existing UI page, and then we try not to change existing ones to achieve the usability.



Possible Solutions:

We get to know some J2EE web-applications are making use of one important feature to compress the JSP page on server side before returning back to the client side. Once the zipped jsp downloaded by client�s internet browser, the browser itself will auto unzip the file and display it.

The users can achieve the better performance and usability at the same time.


Can we acheive this? If so please give me some tips for me to proceed in the right direction?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a variety of reasons why a site can be perceived as slow. Compressing the page contents in transit only helps if network bandwidth is the problem. Unless you have positively established that that's indeed the problem, I'd also investigate whether the slowness isn't caused by other reasons (e.g. overloaded servers or network problems).

More information about how to enable gzip compression for various servers can be found here.
[ October 09, 2007: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic