Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Compressing JSP on web server and Uncompressing at client browser

 
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?
 
Rancher
Posts: 43016
76
  • 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 ]
 
    Bookmark Topic Watch Topic
  • New Topic